Package de.objektkontor.config.backend
Class PropertyBackend
java.lang.Object
de.objektkontor.config.backend.AbstractConfigBackend
de.objektkontor.config.backend.PropertyBackend
- All Implemented Interfaces:
ConfigBackend,ReloadInitiator.Handler
- Direct Known Subclasses:
PropertyClasspathBackend,PropertyFileBackend
-
Field Summary
FieldsFields inherited from class de.objektkontor.config.backend.AbstractConfigBackend
observers -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcleanup()getSubconfigIds(String key) <V> V<V> V<V> V[]<V> V[]static PropertiesloadProperties(File file) Methods inherited from class de.objektkontor.config.backend.AbstractConfigBackend
addObserver, doReload, getParser, reloadConfiguration, removeObserver
-
Field Details
-
sourceName
-
properties
-
-
Constructor Details
-
PropertyBackend
-
-
Method Details
-
getValue
- Throws:
ValueFormatException
-
getValue
- Throws:
ValueFormatException
-
getValues
- Throws:
ValueFormatException
-
getValues
- Throws:
ValueFormatException
-
getSubconfigIds
- Throws:
DuplicateConfigIdException
-
cleanup
protected void cleanup() -
loadProperties
- Throws:
IOException
-