|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Configuration
Stack properties for working. This interface equals IMemento interface from Eclispe (pattern Memento). It interface hideWay of a storage of stack properties (XML file ant etc)
| Method Summary | |
|---|---|
boolean |
getBooleanValue(int key,
boolean defaultValue)
Returns the boolean point value of the given key. |
byte[] |
getByteArrayValue(int key,
byte[] defaultValue)
Returns the byte[] point value of the given key. |
byte |
getByteValue(int key,
byte defaultValue)
Returns the Byte point value of the given key. |
Configuration[] |
getChildren(int key)
Returns all children with the given type id. |
double |
getDoubleValue(int key,
double defaultValue)
Returns the double point value of the given key. |
int |
getIntValue(int key,
int defaultValue)
Returns the Integer point value of the given key. |
long |
getLongValue(int key,
long defaultValue)
Returns the long point value of the given key. |
java.lang.String |
getStringValue(int key,
java.lang.String defaultValue)
Returns the String point value of the given key. |
boolean |
isAttributeExist(int key)
|
| Method Detail |
|---|
byte getByteValue(int key,
byte defaultValue)
key - the keydefaultValue - the Default Value
defValue if the key was not found or was found
but was not a Byte point number
int getIntValue(int key,
int defaultValue)
key - the keydefaultValue - the Default Value
defaultValue if the key was not found or was found
but was not a Integer point number
long getLongValue(int key,
long defaultValue)
key - the keydefaultValue - the Default Value
defaultValue if the key was not found or was found
but was not a long point number
double getDoubleValue(int key,
double defaultValue)
key - the keydefaultValue - the Default Value
defaultValue if the key was not found or was found
but was not a double point number
byte[] getByteArrayValue(int key,
byte[] defaultValue)
key - the keydefaultValue - the Default Value
defaultValue if the key was not found or was found
but was not a byte[] point number
boolean getBooleanValue(int key,
boolean defaultValue)
key - the keydefaultValue - the Default Value
defaultValue if the key was not found or was found
but was not a boolean point number
java.lang.String getStringValue(int key,
java.lang.String defaultValue)
key - the keydefaultValue - the Default Value
defaultValue if the key was not found or was found
but was not a String point numberboolean isAttributeExist(int key)
key - key of attribute
Configuration[] getChildren(int key)
key - the type id
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||