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:
setProperty
in classProperties
-
load
public void load(Reader reader) throws IOException
- Overrides:
load
in classProperties
- Throws:
IOException
-
load
public void load(InputStream inStream) throws IOException
- Overrides:
load
in classProperties
- Throws:
IOException
-
save
public void save(OutputStream out, String comments)
- Overrides:
save
in classProperties
-
store
public void store(Writer writer, String comments) throws IOException
- Overrides:
store
in classProperties
- Throws:
IOException
-
store
public void store(OutputStream out, String comments) throws IOException
- Overrides:
store
in classProperties
- Throws:
IOException
-
loadFromXML
public void loadFromXML(InputStream in) throws IOException, InvalidPropertiesFormatException
- Overrides:
loadFromXML
in classProperties
- Throws:
IOException
InvalidPropertiesFormatException
-
storeToXML
public void storeToXML(OutputStream os, String comment) throws IOException
- Overrides:
storeToXML
in classProperties
- Throws:
IOException
-
storeToXML
public void storeToXML(OutputStream os, String comment, String encoding) throws IOException
- Overrides:
storeToXML
in classProperties
- Throws:
IOException
-
getProperty
public String getProperty(String key)
- Overrides:
getProperty
in classProperties
-
getProperty
public String getProperty(String key, String defaultValue)
- Overrides:
getProperty
in classProperties
-
propertyNames
public Enumeration<?> propertyNames()
- Overrides:
propertyNames
in classProperties
-
stringPropertyNames
public Set<String> stringPropertyNames()
- Overrides:
stringPropertyNames
in classProperties
-
list
public void list(PrintStream out)
- Overrides:
list
in classProperties
-
list
public void list(PrintWriter out)
- Overrides:
list
in classProperties
-
size
public int size()
-
isEmpty
public boolean isEmpty()
-
keys
public Enumeration<Object> keys()
- Overrides:
keys
in classProperties
-
elements
public Enumeration<Object> elements()
- Overrides:
elements
in classProperties
-
contains
public boolean contains(Object value)
- Overrides:
contains
in classProperties
-
containsValue
public boolean containsValue(Object value)
- Specified by:
containsValue
in interfaceMap<Object,Object>
- Overrides:
containsValue
in classProperties
-
containsKey
public boolean containsKey(Object key)
- Specified by:
containsKey
in interfaceMap<Object,Object>
- Overrides:
containsKey
in classProperties
-
clear
public void clear()
-
clone
public Object clone()
- Overrides:
clone
in classProperties
-
toString
public String toString()
- Overrides:
toString
in classProperties
-
values
public Collection<Object> values()
-
equals
public boolean equals(Object o)
-
-