Public Member Functions | |
final Double | getDbl (String key, Double defaultVal) |
get double value associated to key More... | |
Double | getDbl (String value) |
final double [] | getDblAry (String key, double[] defaultVal) |
get double array associated to key More... | |
double [] | getDblAry (String value) |
get array of double from String More... | |
final Float | getFlt (String key, Float defaultVal) |
get float value associated to key More... | |
final Float | getFlt (String value) |
final float [] | getFltAry (String key, float[] defaultVal) |
get float array associated to key More... | |
float [] | getFltAry (String value) |
final Integer | getInt (String key, Integer defaultVal) |
get integer value associated to key More... | |
final int [] | getIntAry (String key) |
get integer array associated to key More... | |
final Short | getShort (String key, Short defaultVal) |
get short value associated to key More... | |
Short | getShort (String value) |
final String | getStr (String key) |
get value associated to keyword More... | |
final String | getStr (String key, String defaultVal) |
get value associated to key More... | |
GrxConfigBundle () | |
constructor More... | |
GrxConfigBundle (String fname) throws IOException | |
construct from a file More... | |
final boolean | isFalse (String key) |
check whether value associated to key includes a word "false" More... | |
final boolean | isFalse (String key, boolean defaultVal) |
check whether value associated to key includes a word "false" More... | |
final boolean | isTrue (String key) |
check whether value associated to key includes a word "true" More... | |
final boolean | isTrue (String key, boolean defaultVal) |
check whether value associated to key includes a word "true" More... | |
void | load (String fname) throws IOException |
load config from a file More... | |
final void | setBool (String key, boolean value) |
final void | setDbl (String key, double value) |
associate double value to key More... | |
final void | setDbl (String key, double value, int digits) |
associate double value to key More... | |
final void | setDblAry (String key, double[] value, int digits) |
associate double array to key More... | |
final void | setDblAry (String key, double[] value) |
associate double array to key More... | |
final void | setFlt (String key, float value) |
associate float value to key More... | |
final void | setFltAry (String key, float[] value) |
associate float array to key More... | |
final void | setInt (String key, int value) |
associate int value to key More... | |
final void | setShort (String key, short value) |
associate short value to key More... | |
void | store (String fname, String comments) throws IOException |
store this config More... | |
Definition at line 34 of file GrxConfigBundle.java.
|
inline |
constructor
Definition at line 38 of file GrxConfigBundle.java.
|
inline |
construct from a file
fname | file name |
IOException |
Definition at line 47 of file GrxConfigBundle.java.
|
inline |
get double value associated to key
key | keyword |
defaultVal | default value |
Definition at line 212 of file GrxConfigBundle.java.
|
inline |
get Double from String
value | string |
Definition at line 226 of file GrxConfigBundle.java.
|
inline |
get double array associated to key
key | keyword |
defaultVal | default value |
Definition at line 268 of file GrxConfigBundle.java.
|
inline |
get array of double from String
value | string of space separated double values |
Definition at line 283 of file GrxConfigBundle.java.
|
inline |
get float value associated to key
key | keyword |
defaultVal | default value |
Definition at line 242 of file GrxConfigBundle.java.
|
inline |
Definition at line 252 of file GrxConfigBundle.java.
|
inline |
get float array associated to key
key | keyword |
defaultVal | default value |
Definition at line 302 of file GrxConfigBundle.java.
|
inline |
Definition at line 318 of file GrxConfigBundle.java.
|
inline |
get integer value associated to key
key | keyword |
defaultVal | default value |
Definition at line 134 of file GrxConfigBundle.java.
|
inline |
get integer array associated to key
key | keyword |
Definition at line 190 of file GrxConfigBundle.java.
|
inline |
get short value associated to key
key | keyword |
defaultVal | default value |
Definition at line 150 of file GrxConfigBundle.java.
|
inline |
get Short from String
value | String |
Definition at line 164 of file GrxConfigBundle.java.
|
inline |
get value associated to keyword
key | keyword |
Definition at line 78 of file GrxConfigBundle.java.
|
inline |
get value associated to key
key | keyword |
defaultVal | default return value |
Definition at line 121 of file GrxConfigBundle.java.
|
inline |
check whether value associated to key includes a word "false"
key | keyword |
Definition at line 459 of file GrxConfigBundle.java.
|
inline |
check whether value associated to key includes a word "false"
key | keyword |
Definition at line 468 of file GrxConfigBundle.java.
|
inline |
check whether value associated to key includes a word "true"
key | keyword |
Definition at line 436 of file GrxConfigBundle.java.
|
inline |
check whether value associated to key includes a word "true"
key | keyword |
defaultVal | default value |
Definition at line 446 of file GrxConfigBundle.java.
|
inline |
load config from a file
fname | filename |
IOException |
Definition at line 56 of file GrxConfigBundle.java.
Definition at line 424 of file GrxConfigBundle.java.
|
inline |
associate double value to key
key | keyword |
value | double value |
Definition at line 393 of file GrxConfigBundle.java.
|
inline |
associate double value to key
key | keyword |
value | double value |
digits | digits to format |
Definition at line 405 of file GrxConfigBundle.java.
|
inline |
associate double array to key
key | keyword |
value | double array |
digits | for format |
Definition at line 337 of file GrxConfigBundle.java.
|
inline |
associate double array to key
key | keyword |
value | double array |
Definition at line 356 of file GrxConfigBundle.java.
|
inline |
associate float value to key
key | keyword |
value | double value |
Definition at line 369 of file GrxConfigBundle.java.
|
inline |
associate float array to key
key | keyword |
value | float array |
Definition at line 380 of file GrxConfigBundle.java.
associate int value to key
key | keyword |
value | int value |
Definition at line 418 of file GrxConfigBundle.java.
|
inline |
associate short value to key
key | keyword |
value | short value |
Definition at line 179 of file GrxConfigBundle.java.
|
inline |
store this config
fname | file name |
comments | comments |
IOException |
Definition at line 68 of file GrxConfigBundle.java.