Class FromFiles
Object
org.anchoranalysis.bean.AnchorBean<B>
org.anchoranalysis.bean.initializable.InitializableBean<T,FilePathInitialization>
org.anchoranalysis.bean.shared.path.FilePathBean<FilePathProvider>
org.anchoranalysis.io.input.bean.path.provider.FilePathProvider
org.anchoranalysis.io.input.bean.path.provider.FromFiles
public class FromFiles extends FilePathProvider
Extracts a path from a
FilesProvider.
The FilesProvider must return exactly one file, otherwise an exception is thrown.
- Author:
- Owen Feehan
-
Constructor Summary
Constructors Constructor Description FromFiles() -
Method Summary
Modifier and Type Method Description Pathget()FilesProvidergetFiles()A provider that should return exactly oneFilewhose path is employed.voidsetFiles(FilesProvider files)A provider that should return exactly oneFilewhose path is employed.Methods inherited from class org.anchoranalysis.bean.initializable.InitializableBean
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitializationMethods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString