java.util
Class Properties

java.lang.Object
  |
  +--java.util.Hashtable
        |
        +--java.util.Properties

public class Properties
extends Hashtable


Constructor Summary
Properties()
           
Properties(Properties defaults)
           
 
Method Summary
 String getProperty(String key)
           
 String getProperty(String key, String def)
           
 void load(InputStream in)
           
 Enumeration propertyNames()
           
 Object setProperty(String key, String value)
           
 void store(OutputStream out, String header)
           
 
Methods inherited from class java.util.Hashtable
clear, contains, containsKey, elements, get, isEmpty, keys, put, rehash, remove, size, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode
 

Constructor Detail

Properties

public Properties()

Properties

public Properties(Properties defaults)
Method Detail

getProperty

public String getProperty(String key,
                          String def)

setProperty

public Object setProperty(String key,
                          String value)

getProperty

public String getProperty(String key)

load

public void load(InputStream in)
          throws IOException
IOException

propertyNames

public Enumeration propertyNames()

store

public void store(OutputStream out,
                  String header)
           throws IOException
IOException