|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.sdm.quasar.client.core.common.config.PropertyFileBeanConfigReader
A ConfigReader that reads a java property file and interprets the key value
pairs as pairs of configuration key classes and value classes. If a value class entry
starts with a "!", this signals, that the according entry will be loaded initially
after adding all entries of the file to the ConfigManager. All other entries
are instantiated at the first access to their keys.
| Constructor Summary | |
PropertyFileBeanConfigReader(java.lang.String fileName)
Creates a new PropertyFileBeanConfigReader. |
|
PropertyFileBeanConfigReader(java.net.URL fileURL)
Creates a new PropertyFileBeanConfigReader. |
|
| Method Summary | |
void |
readConfigFile(ConfigManager configManager)
Reads a configuration and adds configuration values to the configuration manager. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PropertyFileBeanConfigReader(java.net.URL fileURL)
PropertyFileBeanConfigReader.
public PropertyFileBeanConfigReader(java.lang.String fileName)
throws java.io.IOException
PropertyFileBeanConfigReader.
fileName - the file name of the properties file (not null)| Method Detail |
public void readConfigFile(ConfigManager configManager)
throws java.io.IOException
ConfigReader
readConfigFile in interface ConfigReaderconfigManager - the ConfigManager to which the configuration
should be added
java.io.IOExceptionConfigReader.readConfigFile(com.sdm.quasar.client.core.common.config.ConfigManager)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||