public class MergedSystemProperties extends Properties
defaults
Constructor and Description |
---|
MergedSystemProperties(Properties props) |
Modifier and Type | Method and Description |
---|---|
boolean |
containsKey(Object key)
Determines whether key is already present here.
|
Object |
get(Object key) |
String |
getProperty(String key) |
String |
getProperty(String key,
String defaultValue) |
void |
list(PrintStream out) |
void |
list(PrintWriter out) |
void |
load(InputStream inStream) |
void |
load(Reader reader) |
void |
loadFromXML(InputStream in) |
Enumeration<?> |
propertyNames() |
void |
save(OutputStream out,
String comments) |
Object |
setProperty(String key,
String value) |
void |
store(OutputStream out,
String comments) |
void |
store(Writer writer,
String comments) |
void |
storeToXML(OutputStream os,
String comment) |
void |
storeToXML(OutputStream os,
String comment,
String encoding) |
Set<String> |
stringPropertyNames() |
String |
toString() |
public MergedSystemProperties(Properties props)
public void list(PrintStream out)
list
in class Properties
public void list(PrintWriter out)
list
in class Properties
public void load(InputStream inStream) throws IOException
load
in class Properties
IOException
public void load(Reader reader) throws IOException
load
in class Properties
IOException
public void loadFromXML(InputStream in) throws IOException, InvalidPropertiesFormatException
loadFromXML
in class Properties
IOException
InvalidPropertiesFormatException
public Enumeration<?> propertyNames()
propertyNames
in class Properties
public void save(OutputStream out, String comments)
save
in class Properties
public Object setProperty(String key, String value)
setProperty
in class Properties
public void store(OutputStream out, String comments) throws IOException
store
in class Properties
IOException
public void store(Writer writer, String comments) throws IOException
store
in class Properties
IOException
public void storeToXML(OutputStream os, String comment, String encoding) throws IOException
storeToXML
in class Properties
IOException
public void storeToXML(OutputStream os, String comment) throws IOException
storeToXML
in class Properties
IOException
public Set<String> stringPropertyNames()
stringPropertyNames
in class Properties
public String getProperty(String key, String defaultValue)
getProperty
in class Properties
public String getProperty(String key)
getProperty
in class Properties
public boolean containsKey(Object key)
containsKey
in interface Map<Object,Object>
containsKey
in class Hashtable<Object,Object>
key
- the key that we are looking for.Copyright © 2015. All Rights Reserved.