public class UnmodifiableProperties extends java.util.Properties
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
contains(java.lang.Object value) |
boolean |
containsKey(java.lang.Object key) |
boolean |
containsValue(java.lang.Object value) |
java.util.Enumeration<java.lang.Object> |
elements() |
java.util.Set<java.util.Map.Entry<java.lang.Object,java.lang.Object>> |
entrySet() |
boolean |
equals(java.lang.Object obj) |
java.lang.Object |
get(java.lang.Object key) |
java.lang.String |
getProperty(java.lang.String key) |
java.lang.String |
getProperty(java.lang.String key,
java.lang.String defaultValue) |
int |
hashCode() |
boolean |
isEmpty() |
java.util.Enumeration<java.lang.Object> |
keys() |
java.util.Set<java.lang.Object> |
keySet() |
void |
list(java.io.PrintStream out) |
void |
list(java.io.PrintWriter out) |
void |
load(java.io.InputStream inStream) |
void |
load(java.io.Reader reader) |
void |
loadFromXML(java.io.InputStream in) |
java.util.Enumeration<?> |
propertyNames() |
java.lang.Object |
put(java.lang.Object key,
java.lang.Object value) |
void |
putAll(java.util.Map<? extends java.lang.Object,? extends java.lang.Object> t) |
java.lang.Object |
remove(java.lang.Object key) |
void |
save(java.io.OutputStream out,
java.lang.String comments) |
java.lang.Object |
setProperty(java.lang.String key,
java.lang.String value) |
int |
size() |
void |
store(java.io.OutputStream out,
java.lang.String comments) |
void |
store(java.io.Writer writer,
java.lang.String comments) |
void |
storeToXML(java.io.OutputStream os,
java.lang.String comment) |
void |
storeToXML(java.io.OutputStream os,
java.lang.String comment,
java.lang.String encoding) |
java.util.Set<java.lang.String> |
stringPropertyNames() |
static UnmodifiableProperties |
unmodifiableProperties(java.util.Properties properties)
wrap the properties object to unmodifiable properties
|
java.util.Collection<java.lang.Object> |
values() |
public static UnmodifiableProperties unmodifiableProperties(java.util.Properties properties)
properties
- public java.lang.Object setProperty(java.lang.String key, java.lang.String value) throws java.lang.UnsupportedOperationException
setProperty
in class java.util.Properties
java.lang.UnsupportedOperationException
public void load(java.io.Reader reader) throws java.io.IOException, java.lang.UnsupportedOperationException
load
in class java.util.Properties
java.io.IOException
java.lang.UnsupportedOperationException
public void load(java.io.InputStream inStream) throws java.io.IOException, java.lang.UnsupportedOperationException
load
in class java.util.Properties
java.io.IOException
java.lang.UnsupportedOperationException
public void save(java.io.OutputStream out, java.lang.String comments) throws java.lang.UnsupportedOperationException
save
in class java.util.Properties
java.lang.UnsupportedOperationException
public void loadFromXML(java.io.InputStream in) throws java.io.IOException, java.util.InvalidPropertiesFormatException, java.lang.UnsupportedOperationException
loadFromXML
in class java.util.Properties
java.io.IOException
java.util.InvalidPropertiesFormatException
java.lang.UnsupportedOperationException
public java.lang.Object put(java.lang.Object key, java.lang.Object value) throws java.lang.UnsupportedOperationException
put
in interface java.util.Map<java.lang.Object,java.lang.Object>
put
in class java.util.Hashtable<java.lang.Object,java.lang.Object>
java.lang.UnsupportedOperationException
public java.lang.Object remove(java.lang.Object key) throws java.lang.UnsupportedOperationException
remove
in interface java.util.Map<java.lang.Object,java.lang.Object>
remove
in class java.util.Hashtable<java.lang.Object,java.lang.Object>
java.lang.UnsupportedOperationException
public void putAll(java.util.Map<? extends java.lang.Object,? extends java.lang.Object> t) throws java.lang.UnsupportedOperationException
putAll
in interface java.util.Map<java.lang.Object,java.lang.Object>
putAll
in class java.util.Hashtable<java.lang.Object,java.lang.Object>
java.lang.UnsupportedOperationException
public void clear() throws java.lang.UnsupportedOperationException
clear
in interface java.util.Map<java.lang.Object,java.lang.Object>
clear
in class java.util.Hashtable<java.lang.Object,java.lang.Object>
java.lang.UnsupportedOperationException
public java.util.Set<java.lang.Object> keySet()
keySet
in interface java.util.Map<java.lang.Object,java.lang.Object>
keySet
in class java.util.Hashtable<java.lang.Object,java.lang.Object>
public java.util.Set<java.util.Map.Entry<java.lang.Object,java.lang.Object>> entrySet()
entrySet
in interface java.util.Map<java.lang.Object,java.lang.Object>
entrySet
in class java.util.Hashtable<java.lang.Object,java.lang.Object>
public java.util.Collection<java.lang.Object> values()
values
in interface java.util.Map<java.lang.Object,java.lang.Object>
values
in class java.util.Hashtable<java.lang.Object,java.lang.Object>
public void store(java.io.Writer writer, java.lang.String comments) throws java.io.IOException
store
in class java.util.Properties
java.io.IOException
public void store(java.io.OutputStream out, java.lang.String comments) throws java.io.IOException
store
in class java.util.Properties
java.io.IOException
public void storeToXML(java.io.OutputStream os, java.lang.String comment) throws java.io.IOException
storeToXML
in class java.util.Properties
java.io.IOException
public void storeToXML(java.io.OutputStream os, java.lang.String comment, java.lang.String encoding) throws java.io.IOException
storeToXML
in class java.util.Properties
java.io.IOException
public java.lang.String getProperty(java.lang.String key)
getProperty
in class java.util.Properties
public java.lang.String getProperty(java.lang.String key, java.lang.String defaultValue)
getProperty
in class java.util.Properties
public java.util.Enumeration<?> propertyNames()
propertyNames
in class java.util.Properties
public java.util.Set<java.lang.String> stringPropertyNames()
stringPropertyNames
in class java.util.Properties
public void list(java.io.PrintStream out)
list
in class java.util.Properties
public void list(java.io.PrintWriter out)
list
in class java.util.Properties
public int size()
size
in interface java.util.Map<java.lang.Object,java.lang.Object>
size
in class java.util.Hashtable<java.lang.Object,java.lang.Object>
public boolean isEmpty()
isEmpty
in interface java.util.Map<java.lang.Object,java.lang.Object>
isEmpty
in class java.util.Hashtable<java.lang.Object,java.lang.Object>
public java.util.Enumeration<java.lang.Object> keys()
keys
in class java.util.Hashtable<java.lang.Object,java.lang.Object>
public java.util.Enumeration<java.lang.Object> elements()
elements
in class java.util.Hashtable<java.lang.Object,java.lang.Object>
public boolean contains(java.lang.Object value)
contains
in class java.util.Hashtable<java.lang.Object,java.lang.Object>
public boolean containsValue(java.lang.Object value)
containsValue
in interface java.util.Map<java.lang.Object,java.lang.Object>
containsValue
in class java.util.Hashtable<java.lang.Object,java.lang.Object>
public boolean containsKey(java.lang.Object key)
containsKey
in interface java.util.Map<java.lang.Object,java.lang.Object>
containsKey
in class java.util.Hashtable<java.lang.Object,java.lang.Object>
public java.lang.Object get(java.lang.Object key)
get
in interface java.util.Map<java.lang.Object,java.lang.Object>
get
in class java.util.Hashtable<java.lang.Object,java.lang.Object>
public int hashCode()
hashCode
in interface java.util.Map<java.lang.Object,java.lang.Object>
hashCode
in class java.util.Hashtable<java.lang.Object,java.lang.Object>
public boolean equals(java.lang.Object obj)
equals
in interface java.util.Map<java.lang.Object,java.lang.Object>
equals
in class java.util.Hashtable<java.lang.Object,java.lang.Object>
Copyright © 2015 Tampere University of Technology, Pori Department.