Project Wonder 5.0

er.extensions.foundation
Class ERXProperties._Properties

java.lang.Object
  extended by java.util.Dictionary<K,V>
      extended by java.util.Hashtable<java.lang.Object,java.lang.Object>
          extended by java.util.Properties
              extended by 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

Field Summary
static java.lang.String IncludePropsKey
           
 
Fields inherited from class java.util.Properties
defaults
 
Constructor Summary
ERXProperties._Properties()
           
 
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
 

Field Detail

IncludePropsKey

public static final java.lang.String IncludePropsKey
See Also:
Constant Field Values
Constructor Detail

ERXProperties._Properties

public ERXProperties._Properties()
Method Detail

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

Last updated: Tue, Feb 21, 2017 • 05:45 PM CET

Copyright © 2002 – 2007 Project Wonder.