public class ReadFromFile extends DictionaryProvider
Dictionary
from a file in Java
properties format.Constructor and Description |
---|
ReadFromFile() |
Modifier and Type | Method and Description |
---|---|
Dictionary |
get()
Gets or creates an object of type
T . |
FilesProvider |
getFiles()
Provides a single file containing a dictionary.
|
void |
setFiles(FilesProvider files)
Provides a single file containing a dictionary.
|
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitialization
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
public Dictionary get() throws ProvisionFailedException
Provider
T
.ProvisionFailedException
- if the object cannot be returned.public FilesProvider getFiles()
public void setFiles(FilesProvider files)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.