org.opengts.util
Class RTProperties.OrderedProperties

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 org.opengts.util.RTProperties.OrderedProperties
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.util.Map<java.lang.Object,java.lang.Object>
Enclosing class:
RTProperties

public class RTProperties.OrderedProperties
extends java.util.Properties

OrderedProperties class (inner class)

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.Properties
defaults
 
Constructor Summary
RTProperties.OrderedProperties(java.net.URL inputURL)
           
 
Method Summary
 boolean getBoolean(java.lang.String key, boolean dft)
           
 OrderedMap<java.lang.String,java.lang.String> getOrderedMap()
           
 void load(java.io.InputStream in)
           
 void load(java.io.Reader r)
           
 java.util.Properties loadProperties(java.util.Properties props, java.io.InputStream in)
           
 java.util.Properties loadProperties(java.util.Properties props, java.io.InputStream in, boolean isXML)
           
 java.lang.Object put(java.lang.Object key, java.lang.Object value)
           
 java.lang.Object remove(java.lang.Object key)
           
 void setParentProperties(RTProperties.OrderedProperties parent)
           
 
Methods inherited from class java.util.Properties
getProperty, getProperty, list, list, 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, size, toString, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RTProperties.OrderedProperties

public RTProperties.OrderedProperties(java.net.URL inputURL)
Method Detail

setParentProperties

public void setParentProperties(RTProperties.OrderedProperties parent)

getBoolean

public boolean getBoolean(java.lang.String key,
                          boolean dft)

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>

getOrderedMap

public OrderedMap<java.lang.String,java.lang.String> getOrderedMap()

load

public void load(java.io.Reader r)
          throws java.io.IOException
Overrides:
load in class java.util.Properties
Throws:
java.io.IOException

load

public void load(java.io.InputStream in)
          throws java.io.IOException
Overrides:
load in class java.util.Properties
Throws:
java.io.IOException

loadProperties

public java.util.Properties loadProperties(java.util.Properties props,
                                           java.io.InputStream in,
                                           boolean isXML)
                                    throws java.io.IOException
Throws:
java.io.IOException

loadProperties

public java.util.Properties loadProperties(java.util.Properties props,
                                           java.io.InputStream in)
                                    throws java.io.IOException
Throws:
java.io.IOException