Inherits java::io::Serializable.
Public Member Functions | |
int | processInt (String name) throws IllegalArgumentException |
Calculates an integer parameter. | |
double | processFloat (String name) throws IllegalArgumentException |
Calculates a real parameter. | |
final int | getInt (String name) throws IllegalArgumentException |
Gets an integer value. | |
final double | getFloat (String name) throws IllegalArgumentException |
Gets a real value. | |
Static Public Member Functions | |
static ParameterPreprocessor | create (String str, String path, Parameters p) throws IllegalArgumentException |
Creates a parameter preprocessor. | |
Protected Member Functions | |
void | store (String name, int v) |
Stores an integer value. | |
void | store (String name, double v) |
Stores a real value. | |
void | log (String s) |
Print logging info on stderr. |
int gridripper::util::ParameterPreprocessor::processInt | ( | String | name | ) | throws IllegalArgumentException [inline] |
Calculates an integer parameter.
name | the parameter name |
double gridripper::util::ParameterPreprocessor::processFloat | ( | String | name | ) | throws IllegalArgumentException [inline] |
Calculates a real parameter.
name | the parameter name |
void gridripper::util::ParameterPreprocessor::store | ( | String | name, | |
int | v | |||
) | [inline, protected] |
Stores an integer value.
name | the parameter name | |
v | the value |
void gridripper::util::ParameterPreprocessor::store | ( | String | name, | |
double | v | |||
) | [inline, protected] |
Stores a real value.
name | the parameter name | |
v | the value |
final int gridripper::util::ParameterPreprocessor::getInt | ( | String | name | ) | throws IllegalArgumentException [inline] |
Gets an integer value.
name | the parameter name |
final double gridripper::util::ParameterPreprocessor::getFloat | ( | String | name | ) | throws IllegalArgumentException [inline] |
Gets a real value.
name | the parameter name |
static ParameterPreprocessor gridripper::util::ParameterPreprocessor::create | ( | String | str, | |
String | path, | |||
Parameters | p | |||
) | throws IllegalArgumentException [inline, static] |
Creates a parameter preprocessor.
str | the parameter preprocessor name and arguments | |
path | the package name(s) under which the ParameterPreprocessor implementations is searched | |
p | the parameters |