Method Summary |
|
public boolean | containsKey(String key) Returns true if the specified key is found,
false otherwise. |
public synchronized Object | get(String keyword) Get the value of a field as an object.
Parameters: keyword - The keyword of the field. |
public synchronized Object | get(String keyword, Object defaultValue) Get the value of a field as an object, return a default if it
does not exist.
Parameters: keyword - The keyword of the field. |
public synchronized Object | getResource(String jndiName) |
public String[] | getStrings(String key) Get the value of a field as String array.
Parameters: key - The keyword of the field. |
public static boolean | isArray(String key) Returns true if key has indicator that the field is array
(the key ends with "[]")
Parameters: key - The keyword of the field. |
public synchronized String[] | keys() Get the keywords in the table. |
public synchronized String[] | leafKeys() Recursively get the keywords for the entire table. |
public static String | makeConfigString(String oldString) From Context String (delimiters are / signs) makes Config
String (delimiters are . signs). |
public static String | makeContextString(String oldString) From Config String (delimiters are . signs) makes Context
String (delimiters are / signs). |
public static String | makeStringFromStrings(String[] strings) From String array makes String in which are String array elements
separated with , sign.
Parameters: strings - String array. |
public synchronized void | remove(String keyword) Removes field with the defined key. |
public String | removeArrayMark(String key) Removes array indicator (the key ends with "[]") if exists.
Parameters: key - The keyword of the field. |
public synchronized void | set(String keyword, String value) Sets the value of a field with the defined key. |