Class ReadFromFile
- All Implemented Interfaces:
Provider<Dictionary>
Reads a
Dictionary
from a file in Java
properties format.- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget()
Gets or creates an object of typeT
.getFiles()
Provides a single file containing a dictionary.void
setFiles
(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, onInitialization
Methods 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
Description copied from interface:Provider
Gets or creates an object of typeT
.- Returns:
- the object returned by the provider.
- Throws:
ProvisionFailedException
- if the object cannot be returned.
-
getFiles
Provides a single file containing a dictionary. -
setFiles
Provides a single file containing a dictionary.
-