org.schwiebert.abl4j.util
Class PropertiesMap
java.lang.Object
java.util.Dictionary<K,V>
java.util.Hashtable<Object,Object>
java.util.Properties
org.schwiebert.abl4j.util.PropertiesMap
- All Implemented Interfaces:
- Serializable, Cloneable, Map<Object,Object>
public final class PropertiesMap
- extends Properties
- See Also:
- Serialized Form
| Methods inherited from class java.util.Properties |
getProperty, getProperty, list, list, load, loadFromXML, propertyNames, save, setProperty, store, storeToXML, storeToXML |
| 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 |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
initializer
private ABLInitializer initializer
PropertiesMap
public PropertiesMap(ABLInitializer initializer)
getClass
public Class getClass(String propertyName)
throws ClassNotFoundException
- Throws:
ClassNotFoundException
getNewClassInstance
public Object getNewClassInstance(String propertyName)
throws Exception
- Throws:
Exception
getBoolean
public boolean getBoolean(String property)
put
public void put(String key,
boolean value)
put
public void put(String key,
int value)
logProperties
public void logProperties()
getInteger
public int getInteger(String property)
setProperty
public void setProperty(String key,
boolean value)
getInitializer
public ABLInitializer getInitializer()
getDouble
public double getDouble(String property,
double defaultValue)
getInteger
public int getInteger(String property,
int defaultValue)
getBoolean
public boolean getBoolean(String property,
boolean defaultValue)
getCharacter
public char getCharacter(String property,
char defaultValue)
getLong
public long getLong(String property,
long defaultValue)
getString
public String getString(String property,
String defaultValue)
© 2007 Stephan Schwiebert