public class FileSpecification extends BaseFileSpecification implements IBinaryFileSpecification
path| Constructor and Description |
|---|
FileSpecification(String path)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
InputStream |
createInputStream() |
Reader |
createReader()
Creates a new Reader for the contents of file.
|
boolean |
equals(Object obj) |
int |
hashCode() |
getFileHandle, getLastModified, getPath, isOpenDocument, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetLastModified, getPath, isOpenDocumentpublic FileSpecification(String path)
path - The path of the file.public int hashCode()
hashCode in class BaseFileSpecificationpublic boolean equals(Object obj)
equals in class BaseFileSpecificationpublic Reader createReader() throws FileNotFoundException
IFileSpecificationcreateReader in interface IFileSpecificationFileNotFoundExceptionpublic InputStream createInputStream() throws FileNotFoundException
createInputStream in interface IBinaryFileSpecificationFileNotFoundExceptionCopyright © 2016 The Apache Software Foundation. All rights reserved.