public class Properties extends Hashtable
Modifier and Type | Field and Description |
---|---|
protected Properties |
defaults |
Constructor and Description |
---|
Properties() |
Properties(Properties deflts) |
Modifier and Type | Method and Description |
---|---|
String |
getProperty(String key) |
String |
getProperty(String key,
String defaultValue) |
void |
list(PrintStream out) |
void |
list(PrintWriter out) |
void |
load(InputStream in)
Load from an input stream.
|
Enumeration |
propertyNames() |
void |
save(OutputStream out,
String header) |
Object |
setProperty(String key,
String value) |
void |
store(OutputStream out,
String header) |
protected Properties defaults
public Properties()
public Properties(Properties deflts)
public Enumeration propertyNames()
public void load(InputStream in) throws IOException
IOException
public void save(OutputStream out, String header)
public void store(OutputStream out, String header) throws IOException
IOException
public void list(PrintStream out) throws NullPointerException
NullPointerException
public void list(PrintWriter out) throws NullPointerException
NullPointerException