be.erwinsmout
Class MyPropertiesInInsertionOrder
java.lang.Object
java.util.Dictionary<K,V>
java.util.Hashtable<java.lang.Object,java.lang.Object>
java.util.Properties
be.erwinsmout.MyProperties
be.erwinsmout.MyPropertiesInInsertionOrder
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, java.util.Map<java.lang.Object,java.lang.Object>
public abstract class MyPropertiesInInsertionOrder
- extends MyProperties
- Author:
- Erwin
- See Also:
- Serialized Form
Constructor Summary |
MyPropertiesInInsertionOrder()
|
MyPropertiesInInsertionOrder(boolean resolveSystemPropertyReferences)
Creates the Properties object, and tries to load it from one of the following places:
A resource available to this' classloader
A file in the directory pointed to by the user.dir system property
A file in the directory pointed to by the user.home system property
|
MyPropertiesInInsertionOrder(java.util.Properties defaults)
Creates the MyProperties |
MyPropertiesInInsertionOrder(java.util.Properties defaults,
boolean resolveSystemPropertyReferences)
Creates the MyProperties |
Method Summary |
void |
clear()
|
java.util.Set<java.util.Map.Entry<java.lang.Object,java.lang.Object>> |
entrySet()
|
java.util.Set<java.lang.Object> |
keySet()
|
java.lang.Object |
put(java.lang.Object key,
java.lang.Object value)
|
java.lang.Object |
remove(java.lang.Object key)
|
java.util.Collection<java.lang.Object> |
values()
|
Methods inherited from class java.util.Properties |
getProperty, getProperty, list, list, load, load, loadFromXML, propertyNames, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNames |
Methods inherited from class java.util.Hashtable |
clone, contains, containsKey, containsValue, elements, equals, get, hashCode, isEmpty, keys, putAll, size, toString |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
MyPropertiesInInsertionOrder
public MyPropertiesInInsertionOrder()
MyPropertiesInInsertionOrder
public MyPropertiesInInsertionOrder(boolean resolveSystemPropertyReferences)
- Creates the Properties object, and tries to load it from one of the following places:
- A resource available to this' classloader
- A file in the directory pointed to by the user.dir system property
- A file in the directory pointed to by the user.home system property
- Parameters:
resolveSystemPropertyReferences
- flag to indicate whether System property references (e.g.${user.home}) are to be resolved when loading the properties
MyPropertiesInInsertionOrder
public MyPropertiesInInsertionOrder(java.util.Properties defaults)
- Creates the MyProperties
- Parameters:
defaults
-
MyPropertiesInInsertionOrder
public MyPropertiesInInsertionOrder(java.util.Properties defaults,
boolean resolveSystemPropertyReferences)
- Creates the MyProperties
- Parameters:
defaults
- resolveSystemPropertyReferences
- flag to indicate whether System property references (e.g.${user.home}) are to be resolved when loading the properties
clear
public void clear()
- Specified by:
clear
in interface java.util.Map<java.lang.Object,java.lang.Object>
- Overrides:
clear
in class java.util.Hashtable<java.lang.Object,java.lang.Object>
entrySet
public java.util.Set<java.util.Map.Entry<java.lang.Object,java.lang.Object>> entrySet()
- Specified by:
entrySet
in interface java.util.Map<java.lang.Object,java.lang.Object>
- Overrides:
entrySet
in class java.util.Hashtable<java.lang.Object,java.lang.Object>
keySet
public java.util.Set<java.lang.Object> keySet()
- Specified by:
keySet
in interface java.util.Map<java.lang.Object,java.lang.Object>
- Overrides:
keySet
in class java.util.Hashtable<java.lang.Object,java.lang.Object>
put
public java.lang.Object put(java.lang.Object key,
java.lang.Object value)
- Specified by:
put
in interface java.util.Map<java.lang.Object,java.lang.Object>
- Overrides:
put
in class java.util.Hashtable<java.lang.Object,java.lang.Object>
remove
public java.lang.Object remove(java.lang.Object key)
- Specified by:
remove
in interface java.util.Map<java.lang.Object,java.lang.Object>
- Overrides:
remove
in class java.util.Hashtable<java.lang.Object,java.lang.Object>
values
public java.util.Collection<java.lang.Object> values()
- Specified by:
values
in interface java.util.Map<java.lang.Object,java.lang.Object>
- Overrides:
values
in class java.util.Hashtable<java.lang.Object,java.lang.Object>