|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectvisidia.misc.VisidiaSettings
public class VisidiaSettings
The Class VisidiaSettings.
| Nested Class Summary | |
|---|---|
class |
VisidiaSettings.Constants
The Class Constants. |
| Method Summary | |
|---|---|
boolean |
getBoolean(java.lang.String key)
Gets the boolean value associated with key. |
boolean |
getDefaultBoolean(java.lang.String key)
Gets the default boolean value associated with key. |
double |
getDefaultDouble(java.lang.String key)
Gets the default double value associated with key. |
int |
getDefaultInt(java.lang.String key)
Gets the default integer value associated with key. |
java.lang.Object |
getDefaultObject(java.lang.String key)
Gets the default object associated with key. |
java.lang.String |
getDefaultString(java.lang.String key)
Gets the default string associated with key. |
double |
getDouble(java.lang.String key)
Gets the double value associated with key. |
static VisidiaSettings |
getInstance()
Gets the single instance of VisidiaSettings. |
int |
getInt(java.lang.String key)
Gets the integer value associated with key. |
java.lang.Object |
getObject(java.lang.String key)
Gets the object associated with key. |
java.lang.String |
getString(java.lang.String key)
Gets the string associated with key. |
void |
set(java.lang.String key,
java.lang.Object value)
Sets the value associated with key. |
void |
setDefault(java.lang.String key,
java.lang.Object value)
Sets the default value associated with key. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static VisidiaSettings getInstance()
public boolean getDefaultBoolean(java.lang.String key)
key - the key
public double getDefaultDouble(java.lang.String key)
key - the key
public int getDefaultInt(java.lang.String key)
key - the key
public java.lang.String getDefaultString(java.lang.String key)
key - the key
public java.lang.Object getDefaultObject(java.lang.String key)
key - the key
public void setDefault(java.lang.String key,
java.lang.Object value)
key - the keyvalue - the valuepublic boolean getBoolean(java.lang.String key)
key - the key
public double getDouble(java.lang.String key)
key - the key
public int getInt(java.lang.String key)
key - the key
public java.lang.String getString(java.lang.String key)
key - the key
public java.lang.Object getObject(java.lang.String key)
key - the key
public void set(java.lang.String key,
java.lang.Object value)
key - the keyvalue - the value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||