Class ReadFromFile
Object
org.anchoranalysis.bean.AnchorBean<B>
org.anchoranalysis.bean.initializable.InitializableBean<T,DictionaryInitialization>
org.anchoranalysis.bean.shared.dictionary.DictionaryBean<DictionaryProvider>
org.anchoranalysis.bean.shared.dictionary.DictionaryProvider
org.anchoranalysis.io.input.bean.dictionary.ReadFromFile
- All Implemented Interfaces:
Provider<Dictionary>
public class ReadFromFile extends DictionaryProvider
Reads a
Dictionary from a file in Java
properties format.- Author:
- Owen Feehan
-
Constructor Summary
Constructors Constructor Description ReadFromFile() -
Method Summary
Modifier and Type Method Description Dictionaryget()FilesProvidergetFiles()Provides a single file containing a dictionary.voidsetFiles(FilesProvider files)Provides a single file containing a dictionary.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
-
Constructor Details
-
ReadFromFile
public ReadFromFile()
-
-
Method Details
-
get
- Throws:
ProvisionFailedException
-
getFiles
Provides a single file containing a dictionary. -
setFiles
Provides a single file containing a dictionary.
-