| java.lang.Object seda.sandStorm.internal.ConfigData
ConfigData | public class ConfigData implements ConfigDataIF(Code) | | ConfigData is used to pass configuration arguments into various
components.
|
Constructor Summary | |
public | ConfigData(ManagerIF mgr) Create a ConfigData with the given manager and no argument list. | public | ConfigData(ManagerIF mgr, Hashtable args) Create a ConfigData with the given manager and argument list. | public | ConfigData(ManagerIF mgr, String args) Create a ConfigData with the given manager and argument list,
specified as an array of strings of the form "key=value". |
ConfigData | public ConfigData(ManagerIF mgr)(Code) | | Create a ConfigData with the given manager and no argument list.
|
ConfigData | public ConfigData(ManagerIF mgr, Hashtable args)(Code) | | Create a ConfigData with the given manager and argument list.
|
ConfigData | public ConfigData(ManagerIF mgr, String args) throws IOException(Code) | | Create a ConfigData with the given manager and argument list,
specified as an array of strings of the form "key=value".
throws: IOException - If any of the strings to not match the pattern "key=value". |
contains | public boolean contains(String key)(Code) | | Returns true if the given key is set.
|
getBoolean | public boolean getBoolean(String key)(Code) | | Get the boolean value corresponding to the given key.
Returns false if not set.
|
getDouble | public double getDouble(String key)(Code) | | Get the double value corresponding to the given key.
Returns -1.0 if not set or if the value is not a double.
|
getInt | public int getInt(String key)(Code) | | Get the integer value corresponding to the given key.
Returns -1 if not set or if the value is not an integer.
|
getStage | public StageIF getStage()(Code) | | Return the stage for this ConfigData.
|
getString | public String getString(String key)(Code) | | Get the string value corresponding to the given key.
Returns null if not set.
|
getStringList | public String[] getStringList(String key)(Code) | | Get the string list value corresponding to the given key.
Returns null if not set.
|
setBoolean | public void setBoolean(String key, boolean val)(Code) | | Set the given key to the given boolean value.
|
setDouble | public void setDouble(String key, double val)(Code) | | Set the given key to the given double value.
|
setInt | public void setInt(String key, int val)(Code) | | Set the given key to the given integer value.
|
setString | public void setString(String key, String val)(Code) | | Set the given key to the given string value.
|
setStringList | public void setStringList(String key, String valarr)(Code) | | Set the given key to the given string list value.
|
|
|