public interface Configuration
| Modifier and Type | Method and Description |
|---|---|
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.
|
String |
getStringValue(int key,
String defaultValue)
Returns the String point value of the given key.
|
boolean |
isAttributeExist(int key) |
byte getByteValue(int key,
byte defaultValue)
key - the keydefaultValue - the Default ValuedefValue if the key was not found or was found
but was not a Byte point numberint getIntValue(int key,
int defaultValue)
key - the keydefaultValue - the Default ValuedefaultValue if the key was not found or was found
but was not a Integer point numberlong getLongValue(int key,
long defaultValue)
key - the keydefaultValue - the Default ValuedefaultValue if the key was not found or was found
but was not a long point numberdouble getDoubleValue(int key,
double defaultValue)
key - the keydefaultValue - the Default ValuedefaultValue if the key was not found or was found
but was not a double point numberbyte[] getByteArrayValue(int key,
byte[] defaultValue)
key - the keydefaultValue - the Default ValuedefaultValue if the key was not found or was found
but was not a byte[] point numberboolean getBooleanValue(int key,
boolean defaultValue)
key - the keydefaultValue - the Default ValuedefaultValue if the key was not found or was found
but was not a boolean point numberString getStringValue(int key, String defaultValue)
key - the keydefaultValue - the Default ValuedefaultValue if the key was not found or was found
but was not a String point numberboolean isAttributeExist(int key)
key - key of attributeConfiguration[] getChildren(int key)
key - the type idCopyright © 2016. All Rights Reserved.