This class hold's all configuration settings for the MeasureFactory. It can
load the configuration from a property file (with automatic file change
checking) or an xml file. (Standard format) All defined options are declared
as constants. All settings could be overridden by program, so they will not
be reload automatically again. The simpelst configuration is to call the
configure methode of the MeasureFactory. The property file will be searched
automatically in the classpath and loaded. The class can save the actual
settings to an property or xml file, too. Here is an example of a
jmconfig.properties file:
removes the setting with the name as an overridden setting. So from now
on the setting will be used as in the config file or as the default
value.
Parameters: key - name of the setting to remove from the override setting list.
setBoolean
final public void setBoolean(String key, boolean value)(Code)
setting a boolean setting.
Parameters: key - name of the setting Parameters: value - value of the setting
setEnableMeasurement
final public void setEnableMeasurement(boolean value)(Code)
Parameters: value - the enableMeasurement to set
setInteger
final public void setInteger(String key, int value)(Code)
setting a integer setting.
Parameters: key - name of the setting Parameters: value - value of the setting
setLong
final public void setLong(String key, long value)(Code)
setting a long setting.
Parameters: key - name of the setting Parameters: value - value of the setting