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