Package com.marswars.subsystem
Class MwConstants
java.lang.Object
com.marswars.subsystem.MwConstants
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected final booleangetBoolConstant(String... path_steps) Get a boolean constant from the configuration fileprotected final doublegetDoubleConstant(String... path_steps) Get a double constant from the configuration fileprotected final intgetIntConstant(String... path_steps) Get an integer constant from the configuration fileprotected final StringgetStringConstant(String... path_steps) Get a string constant from the configuration fileprotected String
-
Field Details
-
LOADER
-
PREFERENCES
-
-
Constructor Details
-
MwConstants
protected MwConstants()
-
-
Method Details
-
getSystemName
-
getDoubleConstant
Get a double constant from the configuration file- Parameters:
path_steps- comma separated list of strings representing the path to the constant- Returns:
- the double constant
-
getIntConstant
Get an integer constant from the configuration file- Parameters:
path_steps- comma separated list of strings representing the path to the constant- Returns:
- the integer constant
-
getStringConstant
Get a string constant from the configuration file- Parameters:
path_steps- comma separated list of strings representing the path to the constant- Returns:
- the string constant
-
getBoolConstant
Get a boolean constant from the configuration file- Parameters:
path_steps- comma separated list of strings representing the path to the constant- Returns:
- the boolean constant
-