public abstract class MyPropertiesInInsertionOrder extends MyProperties
MyProperties.SKIPAUTOLOAD
SUFFIX
Constructor and Description |
---|
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
|
Modifier and Type | Method and Description |
---|---|
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() |
getOptionalProperty, getOptionalProperty, getPropertiesBaseName, getRequiredProperty, getRequiredProperty, resolveSystemPropertyRefs
getProperty, getProperty, list, list, load, load, loadFromXML, propertyNames, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNames
public MyPropertiesInInsertionOrder()
public MyPropertiesInInsertionOrder(boolean resolveSystemPropertyReferences)
resolveSystemPropertyReferences
- flag to indicate whether System property references (e.g.${user.home}) are to be resolved when loading the propertiespublic MyPropertiesInInsertionOrder(java.util.Properties defaults)
defaults
- -public MyPropertiesInInsertionOrder(java.util.Properties defaults, boolean resolveSystemPropertyReferences)
defaults
- -resolveSystemPropertyReferences
- flag to indicate whether System property references (e.g.${user.home}) are to be resolved when loading the propertiespublic void clear()
clear
in interface java.util.Map<java.lang.Object,java.lang.Object>
clear
in class java.util.Hashtable<java.lang.Object,java.lang.Object>
public java.util.Set<java.util.Map.Entry<java.lang.Object,java.lang.Object>> entrySet()
entrySet
in interface java.util.Map<java.lang.Object,java.lang.Object>
entrySet
in class java.util.Hashtable<java.lang.Object,java.lang.Object>
public java.util.Set<java.lang.Object> keySet()
keySet
in interface java.util.Map<java.lang.Object,java.lang.Object>
keySet
in class java.util.Hashtable<java.lang.Object,java.lang.Object>
public java.lang.Object put(java.lang.Object key, java.lang.Object value)
put
in interface java.util.Map<java.lang.Object,java.lang.Object>
put
in class java.util.Hashtable<java.lang.Object,java.lang.Object>
public java.lang.Object remove(java.lang.Object key)
remove
in interface java.util.Map<java.lang.Object,java.lang.Object>
remove
in class java.util.Hashtable<java.lang.Object,java.lang.Object>
public java.util.Collection<java.lang.Object> values()
values
in interface java.util.Map<java.lang.Object,java.lang.Object>
values
in class java.util.Hashtable<java.lang.Object,java.lang.Object>