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, wait
createReader
protected String path
public BaseFileSpecification(String path)
path
- the file pathpublic String getPath()
getPath
in interface IFileSpecification
public File getFileHandle()
public long getLastModified()
getLastModified
in interface IFileSpecification
public boolean isOpenDocument()
isOpenDocument
in interface IFileSpecification
IFileSpecification.createReader()
method returns a reader that reads the live
document buffer.Copyright © 2016 The Apache Software Foundation. All rights reserved.