org.jumpi.impl
Class ConfigurationLoader
java.lang.Object
|
+--org.jumpi.impl.AbstractConfigurationLoader
|
+--org.jumpi.impl.ConfigurationLoader
- All Implemented Interfaces:
- ConfigurationLoader
- Direct Known Subclasses:
- FileConfigurationLoader
- public class ConfigurationLoader
- extends AbstractConfigurationLoader
Convert provided configuration values into Jumpi properties and allow
replacement substitution of system property values with specially marked
property values. Property values starting with $ are replaced with system
properties named after the $.
Method Summary |
protected void |
addSystemProperties(java.util.Hashtable props)
Add any System properties to the list of properties. |
protected void |
loadPropertySet(java.lang.String propertySetName,
java.util.Hashtable props,
java.util.Hashtable parameters)
Does nothing.
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConfigurationLoader
public ConfigurationLoader()
loadPropertySet
protected void loadPropertySet(java.lang.String propertySetName,
java.util.Hashtable props,
java.util.Hashtable parameters)
throws java.lang.Exception
Does nothing.
- Specified by:
loadPropertySet
in class AbstractConfigurationLoader
- Parameters:
propertySetName
- not used.props
- not used.parameters
- not used.
- Throws:
java.lang.Exception
- never.
addSystemProperties
protected void addSystemProperties(java.util.Hashtable props)
- Add any System properties to the list of properties. Only in JDK11 since
MIDP API does not support listing of System properties. Replace any
existing property with the system property name with the system
property.
- Specified by:
addSystemProperties
in class AbstractConfigurationLoader
- Parameters:
props
- the Properties where to place any system properties.
Copyright © 2003, Peter Jonathan Klauser.