|
Configuration Platform SDK 7.6 API Reference | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.genesyslab.platform.commons.connection.AbstractConnectionConfiguration
com.genesyslab.platform.commons.connection.configuration.PropertyConfiguration
The implementation of ConnectionConfiguration interface, which contains all values
in
Constructor Summary | |
PropertyConfiguration()
Creates empty PropertyConfiguration object. |
|
PropertyConfiguration(java.util.Properties props)
Creates object and set all configuration using given Hashtable object. |
Method Summary | |
java.lang.String |
getOption(java.lang.String name,
java.lang.String defaultValue)
Get string parameter from the configuration. |
boolean |
isEmpty()
Tests if this properties set does not contain specific values. |
void |
setOption(java.lang.String name,
java.lang.String value)
Set string parameter into config. |
Methods inherited from class com.genesyslab.platform.commons.connection.AbstractConnectionConfiguration |
getBoolean, getBoolean, getInteger, getInteger, getOption, setBoolean, setInteger |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PropertyConfiguration()
public PropertyConfiguration(java.util.Properties props)
props
- collection with configuration propertiesMethod Detail |
public void setOption(java.lang.String name, java.lang.String value)
name
- name (key) of the parametervalue
- string value to setpublic java.lang.String getOption(java.lang.String name, java.lang.String defaultValue)
name
- name (key) of the parameterdefaultValue
- value to return if parameter is not found
public boolean isEmpty()
true
if this hashtable maps no keys to values;
false
otherwise.
|
Configuration Platform SDK 7.6 API Reference | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |