|
Jumpi v1.2.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.jumpi.impl.AbstractConfigurationLoader | +--org.jumpi.impl.MidletConfigurationLoader
Convert provided configuration values into Jumpi properties, adding any Jumpi Midlet properties from the Midlet System environment ( and in doing so replace any existing property of the same name).
Use jumpi.midlet.key>N< for key names and jumpi.midlet.value>N< for their corresponding key values.
Field Summary |
Fields inherited from class org.jumpi.impl.AbstractConfigurationLoader |
PROPERTY_SET_KEY, PROPERTY_SYSTEM_PREFIX, REMOVE_PROPERTY |
Constructor Summary | |
MidletConfigurationLoader()
|
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 org.jumpi.impl.AbstractConfigurationLoader |
getConfiguration, getJumpiClassname, replaceCustomProperties, replaceSystemProperties |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MidletConfigurationLoader()
Method Detail |
protected void loadPropertySet(java.lang.String propertySetName, java.util.Hashtable props, java.util.Hashtable parameters) throws java.lang.Exception
Does nothing.
loadPropertySet
in class AbstractConfigurationLoader
propertySetName
- not used.props
- not used.parameters
- not used.
java.lang.Exception
- if any failure condition occurs.protected void addSystemProperties(java.util.Hashtable props)
Add any System properties to the list of properties. Since it is not possible to inquire what these properties through Midp's System class, it is necessary to define a naming scheme for properties.
Use jumpi.midlet.key>N< for key names and jumpi.midlet.value>N< for their corresponding key values.
A maximum of 100 key, value pairs is retrieved.
addSystemProperties
in class AbstractConfigurationLoader
props
- the Properties where to place any system properties.
|
Jumpi v1.2.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |