er.extensions.foundation
Class ERXProperties._Properties
java.lang.Object
java.util.Dictionary<K,V>
java.util.Hashtable<java.lang.Object,java.lang.Object>
java.util.Properties
er.extensions.foundation.ERXProperties._Properties
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, java.util.Map<java.lang.Object,java.lang.Object>
- Enclosing class:
- ERXProperties
public static class ERXProperties._Properties
- extends java.util.Properties
_Properties is a subclass of Properties that provides support for including other
Properties files on the fly. If you create a property named .includeProps, the value
will be interpreted as a file to load. If the path is absolute, it will just load it
directly. If it's relative, the path will be loaded relative to the current user's
home directory. Multiple .includeProps can be included in a Properties file and they
will be loaded in the order they appear within the file.
- See Also:
- Serialized Form
- Author:
- mschrag
Fields inherited from class java.util.Properties |
defaults |
Method Summary |
void |
load(java.io.File propsFile)
|
java.lang.Object |
put(java.lang.Object key,
java.lang.Object value)
|
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 |
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, putAll, rehash, remove, size, toString, values |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
IncludePropsKey
public static final java.lang.String IncludePropsKey
- See Also:
- Constant Field Values
ERXProperties._Properties
public ERXProperties._Properties()
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>
load
public void load(java.io.File propsFile)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2002 – 2007 Project Wonder.