|
1.0.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.soda.dk.core.EscConfiguration
public class EscConfiguration
ConfigurationService| Constructor Summary | |
|---|---|
EscConfiguration()
Constructs an instance of this class. |
|
EscConfiguration(java.util.Dictionary properties)
Constructs an instance of this class from the specified properties parameter. |
|
| Method Summary | |
|---|---|
boolean |
getBoolean(java.lang.String key,
boolean defaultBoolean)
Get the boolean configuration value. |
static ConfigurationService |
getConfiguration()
Get the ConfigurationService. |
protected java.util.Properties |
getDefaultProperties()
Get the default properties. |
float |
getFloat(java.lang.String key,
float defaultFloat)
Get float with the specified key and default float parameters and return the float result. |
int |
getInt(java.lang.String key,
int defaultInt)
/** Get the integer configuration value. |
long |
getLong(java.lang.String key,
long defaultLong)
/** Get the long configuration value. |
java.lang.Object |
getObject(java.lang.String key,
java.lang.Object defaultObject)
Get object with the specified key and default object parameters and return the Object result. |
java.util.Dictionary |
getProperties()
Get the properties. |
java.lang.Object |
getProperty(java.lang.String key)
Get the specified property. |
java.lang.String |
getString(java.lang.String key,
java.lang.String defaultString)
/** Get the String configuration value. |
void |
put(java.lang.String key,
java.lang.Object value)
Change/set the specified property value. |
static void |
setConfiguration(ConfigurationService configuration)
Sets the configuration. |
java.lang.String |
toString()
Returns the string value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public EscConfiguration()
EscConfiguration(Dictionary)public EscConfiguration(java.util.Dictionary properties)
properties - The properties (Dictionary) parameter.EscConfiguration()| Method Detail |
|---|
public static ConfigurationService getConfiguration()
ConfigurationService) value.EscConfiguration(),
EscConfiguration(Dictionary),
setConfiguration(ConfigurationService)public static void setConfiguration(ConfigurationService configuration)
configuration - The configuration service (ConfigurationService) parameter.EscConfiguration(),
EscConfiguration(Dictionary),
getConfiguration()
public boolean getBoolean(java.lang.String key,
boolean defaultBoolean)
getBoolean in interface ConfigurationServicekey - The key (String) parameter.defaultBoolean - The default boolean (boolean) parameter.
boolean) value.ConfigurationService.getBoolean(java.lang.String, boolean)protected java.util.Properties getDefaultProperties()
Properties) value.
public float getFloat(java.lang.String key,
float defaultFloat)
getFloat in interface ConfigurationServicekey - The key (String) parameter.defaultFloat - The default float (float) parameter.
float) value.
public int getInt(java.lang.String key,
int defaultInt)
getInt in interface ConfigurationServicekey - The key (String) parameter.defaultInt - The default int (int) parameter.
int) value.ConfigurationService.getInt(java.lang.String, int)
public long getLong(java.lang.String key,
long defaultLong)
getLong in interface ConfigurationServicekey - The key (String) parameter.defaultLong - The default long (long) parameter.
long) value.ConfigurationService.getLong(java.lang.String, long)
public java.lang.Object getObject(java.lang.String key,
java.lang.Object defaultObject)
getObject in interface ConfigurationServicekey - The key (String) parameter.defaultObject - The default object (Object) parameter.
Object) value.public java.util.Dictionary getProperties()
getProperties in interface ConfigurationServiceDictionary) value.getDefaultProperties()public java.lang.Object getProperty(java.lang.String key)
key - The key (String) parameter.
String) value.
public java.lang.String getString(java.lang.String key,
java.lang.String defaultString)
getString in interface ConfigurationServicekey - The key (String) parameter.defaultString - The default string (String) parameter.
String) value.ConfigurationService.getString(java.lang.String, java.lang.String),
toString()
public void put(java.lang.String key,
java.lang.Object value)
key - The key (String) parameter.value - The value (Object) parameter.public java.lang.String toString()
toString in class java.lang.ObjectString) value.getString(String,String)
|
1.0.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||