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 Propertiespublic void list(PrintWriter out)
list in class Propertiespublic void load(InputStream inStream) throws IOException
load in class PropertiesIOExceptionpublic void load(Reader reader) throws IOException
load in class PropertiesIOExceptionpublic void loadFromXML(InputStream in) throws IOException, InvalidPropertiesFormatException
loadFromXML in class PropertiesIOExceptionInvalidPropertiesFormatExceptionpublic Enumeration<?> propertyNames()
propertyNames in class Propertiespublic void save(OutputStream out, String comments)
save in class Propertiespublic Object setProperty(String key, String value)
setProperty in class Propertiespublic void store(OutputStream out, String comments) throws IOException
store in class PropertiesIOExceptionpublic void store(Writer writer, String comments) throws IOException
store in class PropertiesIOExceptionpublic void storeToXML(OutputStream os, String comment, String encoding) throws IOException
storeToXML in class PropertiesIOExceptionpublic void storeToXML(OutputStream os, String comment) throws IOException
storeToXML in class PropertiesIOExceptionpublic Set<String> stringPropertyNames()
stringPropertyNames in class Propertiespublic String getProperty(String key, String defaultValue)
getProperty in class Propertiespublic String getProperty(String key)
getProperty in class Propertiespublic 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 © 2014. All Rights Reserved.