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
Fields inherited from class java.util.Hashtable |
count, emptyEnumerator, emptyIterator, ENTRIES, entrySet, KEYS, keySet, loadFactor, modCount, table, threshold, values, VALUES |
Methods inherited from class java.util.Properties |
, continueLine, enumerate, getProperty, getProperty, list, list, load, loadConvert, propertyNames, save, saveConvert, setProperty, store, toHex, writeln |
Methods inherited from class java.util.Hashtable |
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, getEnumeration, getIterator, hashCode, isEmpty, keys, keySet, put, putAll, readObject, rehash, remove, size, toString, values, writeObject |
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 int 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
loadCommandLine
public void loadCommandLine(String[] args)
- Description of the Method
- Parameters:
args
- Description of Parameter