|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectus.ihmc.utilities.calibration.CalibrationProperties
public class CalibrationProperties
CalibrationProperties Reads and sets Calibration Properties Files. If Neither the Default calibration file or the Current calibration file exists, they will both be created on the first run with any new properties that have been set If only the Default calibration file does not exist it will be created on first run. If only the Current calibration file does not exist it will be created with the values from the Default calibration file. Company: IHMC
Constructor Summary | |
---|---|
CalibrationProperties()
create a calibration file in the default locations |
|
CalibrationProperties(java.lang.String directory,
java.lang.String currentPropertiesFile)
create a calibration file in the specified default and current locations |
Method Summary | |
---|---|
double |
getDoubleProperty(java.lang.String key)
return the specified property's value as a Double |
int |
getIntegerProperty(java.lang.String key)
return the specified property's value as an Integer |
java.lang.String |
getStringProperty(java.lang.String key)
return the specified property's value as a String |
void |
replaceExpressionsByValuesAndSave()
Replaces expressions (e.g. |
void |
save()
saves the property file to the location specified at creation. |
void |
setProperty(java.lang.String key,
double value)
Sets the specified property(key) with the specified double value |
void |
setProperty(java.lang.String key,
java.lang.String value)
Sets the specified property(key) with the specified string value |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CalibrationProperties()
public CalibrationProperties(java.lang.String directory, java.lang.String currentPropertiesFile)
Method Detail |
---|
public java.lang.String getStringProperty(java.lang.String key)
public double getDoubleProperty(java.lang.String key)
public int getIntegerProperty(java.lang.String key)
public void setProperty(java.lang.String key, java.lang.String value)
public void setProperty(java.lang.String key, double value)
public void save()
public void replaceExpressionsByValuesAndSave()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |