public abstract class BaseFileSpecification extends Object implements IFileSpecification
| Constructor and Description |
|---|
BaseFileSpecification(String path)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
equals(Object obj) |
File |
getFileHandle()
Returns the file handle.
|
long |
getLastModified()
Get the last modified timestamp of the file
|
String |
getPath()
Returns the path of the file.
|
abstract int |
hashCode() |
boolean |
isOpenDocument() |
String |
toString()
For debugging only.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcreateReaderprotected String path
public BaseFileSpecification(String path)
path - the file pathpublic String getPath()
getPath in interface IFileSpecificationpublic File getFileHandle()
public long getLastModified()
getLastModified in interface IFileSpecificationpublic boolean isOpenDocument()
isOpenDocument in interface IFileSpecificationIFileSpecification.createReader() method returns a reader that reads the live
document buffer.Copyright © 2016 The Apache Software Foundation. All rights reserved.