org.osjava.sj.loader.util
Class XmlProperties

java.lang.Object
  extended by java.util.Dictionary<K,V>
      extended by java.util.Hashtable<Object,Object>
          extended by java.util.Properties
              extended by org.osjava.sj.loader.util.AbstractProperties
                  extended by org.osjava.sj.loader.util.XmlProperties
All Implemented Interfaces:
Serializable, Cloneable, Map<Object,Object>

public class XmlProperties
extends AbstractProperties

Loads properties using the DOM API from an InputStream containing XML

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.osjava.sj.loader.util.AbstractProperties
index
 
Fields inherited from class java.util.Properties
defaults
 
Constructor Summary
XmlProperties()
           
XmlProperties(Properties props)
           
 
Method Summary
 void load(InputStream in)
           
 
Methods inherited from class org.osjava.sj.loader.util.AbstractProperties
getDelimiter, keys, keySet, propertyNames, put, remove, save, setDelimiter, setProperty, store
 
Methods inherited from class java.util.Properties
getProperty, getProperty, list, list, loadFromXML, storeToXML, storeToXML
 
Methods inherited from class java.util.Hashtable
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, putAll, rehash, size, toString, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XmlProperties

public XmlProperties()

XmlProperties

public XmlProperties(Properties props)
Method Detail

load

public void load(InputStream in)
          throws IOException
Specified by:
load in class AbstractProperties
Throws:
IOException


Copyright © 2003-2008 OSJava. All Rights Reserved.