cz.cuni.mff.ksi.jinfer.base.utils
Class ModuleProperties
java.lang.Object
java.util.Dictionary<K,V>
java.util.Hashtable<Object,Object>
java.util.Properties
cz.cuni.mff.ksi.jinfer.base.utils.ModuleProperties
- All Implemented Interfaces:
- Serializable, Cloneable, Map<Object,Object>
public class ModuleProperties
- extends Properties
Properties that extend standard Properties
that prefix each setting
with a specific module name. By default this Properties are used for jInfer
Project Properties.
- See Also:
- Serialized Form
Methods inherited from class java.util.Properties |
getProperty, list, list, load, load, loadFromXML, propertyNames, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNames |
Methods inherited from class java.util.Hashtable |
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, putAll, rehash, remove, size, toString, values |
ModuleProperties
public ModuleProperties(String moduleName,
Properties properties)
- Default constructor.
- Parameters:
moduleName
- Unique name that will be used as prefix.properties
- Properties that are extended.
put
public Object put(Object key,
Object value)
- Specified by:
put
in interface Map<Object,Object>
- Overrides:
put
in class Hashtable<Object,Object>
getProperty
public String getProperty(String key)
- Overrides:
getProperty
in class Properties
Generated on Fri Dec 9 00:01:25 CET 2011