Package org.adempiere.util
Class ServerContextPropertiesWrapper
- java.lang.Object
-
- java.util.Dictionary<K,V>
-
- java.util.Hashtable<Object,Object>
-
- java.util.Properties
-
- org.adempiere.util.ServerContextPropertiesWrapper
-
- All Implemented Interfaces:
Serializable,Cloneable,Map<Object,Object>
public class ServerContextPropertiesWrapper extends Properties
- Author:
- hengsin
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.util.Properties
defaults
-
-
Constructor Summary
Constructors Constructor Description ServerContextPropertiesWrapper()
-
Method Summary
-
Methods inherited from class java.util.Properties
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, rehash, remove, replace, replace, replaceAll, storeToXML
-
-
-
-
Method Detail
-
setProperty
public Object setProperty(String key, String value)
- Overrides:
setPropertyin classProperties
-
load
public void load(Reader reader) throws IOException
- Overrides:
loadin classProperties- Throws:
IOException
-
load
public void load(InputStream inStream) throws IOException
- Overrides:
loadin classProperties- Throws:
IOException
-
save
public void save(OutputStream out, String comments)
- Overrides:
savein classProperties
-
store
public void store(Writer writer, String comments) throws IOException
- Overrides:
storein classProperties- Throws:
IOException
-
store
public void store(OutputStream out, String comments) throws IOException
- Overrides:
storein classProperties- Throws:
IOException
-
loadFromXML
public void loadFromXML(InputStream in) throws IOException, InvalidPropertiesFormatException
- Overrides:
loadFromXMLin classProperties- Throws:
IOExceptionInvalidPropertiesFormatException
-
storeToXML
public void storeToXML(OutputStream os, String comment) throws IOException
- Overrides:
storeToXMLin classProperties- Throws:
IOException
-
storeToXML
public void storeToXML(OutputStream os, String comment, String encoding) throws IOException
- Overrides:
storeToXMLin classProperties- Throws:
IOException
-
getProperty
public String getProperty(String key)
- Overrides:
getPropertyin classProperties
-
getProperty
public String getProperty(String key, String defaultValue)
- Overrides:
getPropertyin classProperties
-
propertyNames
public Enumeration<?> propertyNames()
- Overrides:
propertyNamesin classProperties
-
stringPropertyNames
public Set<String> stringPropertyNames()
- Overrides:
stringPropertyNamesin classProperties
-
list
public void list(PrintStream out)
- Overrides:
listin classProperties
-
list
public void list(PrintWriter out)
- Overrides:
listin classProperties
-
size
public int size()
-
isEmpty
public boolean isEmpty()
-
keys
public Enumeration<Object> keys()
- Overrides:
keysin classProperties
-
elements
public Enumeration<Object> elements()
- Overrides:
elementsin classProperties
-
contains
public boolean contains(Object value)
- Overrides:
containsin classProperties
-
containsValue
public boolean containsValue(Object value)
- Specified by:
containsValuein interfaceMap<Object,Object>- Overrides:
containsValuein classProperties
-
containsKey
public boolean containsKey(Object key)
- Specified by:
containsKeyin interfaceMap<Object,Object>- Overrides:
containsKeyin classProperties
-
clear
public void clear()
-
clone
public Object clone()
- Overrides:
clonein classProperties
-
toString
public String toString()
- Overrides:
toStringin classProperties
-
values
public Collection<Object> values()
-
equals
public boolean equals(Object o)
-
-