|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.Dictionary<K,V>
java.util.Hashtable<Object,Object>
java.util.Properties
org.modeshape.jdbc.util.UnmodifiableProperties
public class UnmodifiableProperties

An immutable Properties implementation.
| Field Summary |
|---|
| Fields inherited from class java.util.Properties |
|---|
defaults |
| Constructor Summary | |
|---|---|
UnmodifiableProperties(Properties props)
|
|
| Method Summary | |
|---|---|
void |
clear()
|
Object |
clone()
|
boolean |
contains(Object value)
|
boolean |
containsKey(Object key)
|
boolean |
containsValue(Object value)
|
Enumeration<Object> |
elements()
|
Set<Map.Entry<Object,Object>> |
entrySet()
|
boolean |
equals(Object o)
|
Object |
get(Object key)
|
String |
getProperty(String key)
|
String |
getProperty(String key,
String defaultValue)
|
int |
hashCode()
|
boolean |
isEmpty()
|
Enumeration<Object> |
keys()
|
Set<Object> |
keySet()
|
void |
list(PrintStream out)
|
void |
list(PrintWriter out)
|
void |
load(InputStream inStream)
|
void |
loadFromXML(InputStream in)
|
Enumeration<?> |
propertyNames()
|
Object |
put(Object key,
Object value)
|
void |
putAll(Map<? extends Object,? extends Object> t)
|
Object |
remove(Object key)
|
void |
save(OutputStream out,
String comments)
Deprecated. This method does not throw an IOException if an I/O error occurs while saving the property list. The preferred way to save a properties list is via the store(OutputStream out,
String comments) method or the storeToXML(OutputStream os, String comment) method. |
Object |
setProperty(String key,
String value)
|
int |
size()
|
void |
store(OutputStream out,
String comments)
|
void |
storeToXML(OutputStream os,
String comment)
|
void |
storeToXML(OutputStream os,
String comment,
String encoding)
|
String |
toString()
|
Collection<Object> |
values()
|
| Methods inherited from class java.util.Properties |
|---|
load, store, stringPropertyNames |
| Methods inherited from class java.util.Hashtable |
|---|
rehash |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public UnmodifiableProperties(Properties props)
| Method Detail |
|---|
public Object clone()
clone in class Hashtable<Object,Object>public boolean contains(Object value)
contains in class Hashtable<Object,Object>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()
elements in class Hashtable<Object,Object>public boolean equals(Object o)
equals in interface Map<Object,Object>equals in class Hashtable<Object,Object>public Object get(Object key)
get in interface Map<Object,Object>get in class Hashtable<Object,Object>
public String getProperty(String key,
String defaultValue)
getProperty in class Propertiespublic String getProperty(String key)
getProperty in class Propertiespublic int hashCode()
hashCode in interface Map<Object,Object>hashCode in class Hashtable<Object,Object>public boolean isEmpty()
isEmpty in interface Map<Object,Object>isEmpty in class Hashtable<Object,Object>public Enumeration<Object> keys()
keys in class Hashtable<Object,Object>public void list(PrintStream out)
list in class Propertiespublic void list(PrintWriter out)
list in class Propertiespublic Enumeration<?> propertyNames()
propertyNames in class Properties
@Deprecated
public void save(OutputStream out,
String comments)
store(OutputStream out,
String comments) method or the storeToXML(OutputStream os, String comment) method.
save in class PropertiesProperties.save(java.io.OutputStream, java.lang.String)public int size()
size in interface Map<Object,Object>size in class Hashtable<Object,Object>
public void store(OutputStream out,
String comments)
throws IOException
store in class PropertiesIOException
public void storeToXML(OutputStream os,
String comment,
String encoding)
throws IOException
storeToXML in class PropertiesIOException
public void storeToXML(OutputStream os,
String comment)
throws IOException
storeToXML in class PropertiesIOExceptionpublic String toString()
toString in class Hashtable<Object,Object>public Collection<Object> values()
values in interface Map<Object,Object>values in class Hashtable<Object,Object>public void clear()
clear in interface Map<Object,Object>clear in class Hashtable<Object,Object>public Set<Map.Entry<Object,Object>> entrySet()
entrySet in interface Map<Object,Object>entrySet in class Hashtable<Object,Object>public Set<Object> keySet()
keySet in interface Map<Object,Object>keySet in class Hashtable<Object,Object>public void load(InputStream inStream)
load in class Propertiespublic void loadFromXML(InputStream in)
loadFromXML in class Properties
public Object put(Object key,
Object value)
put in interface Map<Object,Object>put in class Hashtable<Object,Object>public void putAll(Map<? extends Object,? extends Object> t)
putAll in interface Map<Object,Object>putAll in class Hashtable<Object,Object>public Object remove(Object key)
remove in interface Map<Object,Object>remove in class Hashtable<Object,Object>
public Object setProperty(String key,
String value)
setProperty in class Properties
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||