Package org.anchoranalysis.io.input.file
Class FileWithDirectoryInput
Object
SingleFileInputBase
FileWithDirectoryInput
- All Implemented Interfaces:
InputFromManager
An input pertaining to a single file on the file-system - and a directory in which it resides.
- Author:
- Owen Feehan
-
Constructor Summary
ConstructorsConstructorDescriptionFileWithDirectoryInput
(NamedFile file, Path directory) Create for a particular file and directory. -
Method Summary
Modifier and TypeMethodDescriptionA directory that must be a containing directory (at some hierarchical level) of file associated with this input.Methods inherited from class org.anchoranalysis.io.input.file.SingleFileInputBase
getFile, identifier, pathForBinding, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.anchoranalysis.io.input.InputFromManager
allAssociatedPaths, asFile, close, identifierAsPath, pathForBindingRequired
-
Constructor Details
-
FileWithDirectoryInput
Create for a particular file and directory.- Parameters:
file
- the file this input prefers to.directory
- a directory that must be a containing directory (at some hierarchical level) offile
-
-
Method Details
-
getDirectory
A directory that must be a containing directory (at some hierarchical level) of file associated with this input.
-