Package org.anchoranalysis.io.input.file
Class FileWithDirectoryInput
Object
org.anchoranalysis.io.input.file.SingleFileInputBase
org.anchoranalysis.io.input.file.FileWithDirectoryInput
- All Implemented Interfaces:
InputFromManager
public class FileWithDirectoryInput extends SingleFileInputBase
An input pertaining to a single file on the file-system - and a directory in which it resides.
- Author:
- Owen Feehan
-
Constructor Summary
Constructors Constructor Description FileWithDirectoryInput(NamedFile file, Path directory)Create for a particular file and directory. -
Method Summary
Modifier and Type Method Description PathgetDirectory()A 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, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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.
-