gecco.util
Class CommandLineProperties
java.lang.Object
|
+--java.util.Dictionary
|
+--java.util.Hashtable
|
+--java.util.Properties
|
+--gecco.util.CommandLineProperties
- All Implemented Interfaces:
- Cloneable, Map, Serializable
- public class CommandLineProperties
- extends Properties
Description of the Class
- Author:
- Karl Hasselström
- See Also:
- Serialized Form
Methods inherited from class java.util.Hashtable |
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, toString, values |
CommandLineProperties
public CommandLineProperties()
- Constructor for the CommandLineProperties object
CommandLineProperties
public CommandLineProperties(String[] args)
- Constructor for the CommandLineProperties object
- Parameters:
args
- Description of Parameter
getDoubleProperty
public double getDoubleProperty(String key,
double defaultVal)
- Gets the DoubleProperty attribute of the CommandLineProperties object
- Parameters:
key
- Description of ParameterdefaultVal
- Description of Parameter- Returns:
- The DoubleProperty value
getIntProperty
public int getIntProperty(String key,
int defaultVal)
- Gets the IntProperty attribute of the CommandLineProperties object
- Parameters:
key
- Description of ParameterdefaultVal
- Description of Parameter- Returns:
- The IntProperty value
getStringProperty
public String getStringProperty(String key,
String defaultVal)
- Gets the StringProperty attribute of the CommandLineProperties object
- Parameters:
key
- Description of ParameterdefaultVal
- Description of Parameter- Returns:
- The StringProperty value
getBooleanProperty
public boolean getBooleanProperty(String key)
- Gets the BooleanProperty attribute of the CommandLineProperties object
- Parameters:
key
- Description of ParameterdefaultVal
- Description of Parameter- Returns:
- The StringProperty value
loadCommandLine
public void loadCommandLine(String[] args)
- Description of the Method
- Parameters:
args
- Description of Parameter