com.generationjava.util
Class XmlProperties

java.lang.Object
  |
  +--java.util.Dictionary
        |
        +--java.util.Hashtable
              |
              +--java.util.Properties
                    |
                    +--com.generationjava.util.XmlProperties
All Implemented Interfaces:
java.lang.Cloneable, java.util.Map, java.io.Serializable

public class XmlProperties
extends java.util.Properties

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.Properties
defaults
 
Constructor Summary
XmlProperties()
           
XmlProperties(java.util.Properties props)
           
 
Method Summary
 void add(java.lang.String level, XMLNode node)
           
static XmlProperties load(java.io.File file)
           
 void load(java.io.InputStream in)
           
 void load(java.io.Reader reader)
           
 void save(java.io.OutputStream outstrm, java.lang.String header)
           
 java.lang.Object setProperty(java.lang.String key, java.lang.String value)
           
 void store(java.io.OutputStream outstrm, java.lang.String header)
           
 
Methods inherited from class java.util.Properties
getProperty, getProperty, list, list, propertyNames
 
Methods inherited from class java.util.Hashtable
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, 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(java.util.Properties props)
Method Detail

load

public static XmlProperties load(java.io.File file)

load

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

load

public void load(java.io.Reader reader)
          throws java.io.IOException
java.io.IOException

add

public void add(java.lang.String level,
                XMLNode node)

setProperty

public java.lang.Object setProperty(java.lang.String key,
                                    java.lang.String value)
Overrides:
setProperty in class java.util.Properties

save

public void save(java.io.OutputStream outstrm,
                 java.lang.String header)
Overrides:
save in class java.util.Properties

store

public void store(java.io.OutputStream outstrm,
                  java.lang.String header)
           throws java.io.IOException
Overrides:
store in class java.util.Properties
java.io.IOException


Copyright © 2000-2003 GenerationJava. All Rights Reserved.