@Immutable public class UnmodifiableProperties extends Properties
Properties
implementation.defaults
Constructor and Description |
---|
UnmodifiableProperties(Properties props) |
load, save, store, stringPropertyNames
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, rehash, remove, replace, replace, replaceAll
public UnmodifiableProperties(Properties props)
public boolean contains(Object value)
public boolean containsKey(Object key)
containsKey
in interface Map<Object,Object>
containsKey
in class Hashtable<Object,Object>
public boolean containsValue(Object value)
containsValue
in interface Map<Object,Object>
containsValue
in class Hashtable<Object,Object>
public Enumeration<Object> elements()
public boolean equals(Object o)
public String getProperty(String key, String defaultValue)
getProperty
in class Properties
public String getProperty(String key)
getProperty
in class Properties
public int hashCode()
public boolean isEmpty()
public void list(PrintStream out)
list
in class Properties
public void list(PrintWriter out)
list
in class Properties
public Enumeration<?> propertyNames()
propertyNames
in class Properties
public int size()
public void store(OutputStream out, 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 Collection<Object> values()
public void clear()
public void load(InputStream inStream)
load
in class Properties
public void loadFromXML(InputStream in)
loadFromXML
in class Properties
public Object setProperty(String key, String value)
setProperty
in class Properties
Copyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.