org.kuali.common.util.property
Class ImmutableProperties

java.lang.Object
  extended by java.util.Dictionary<K,V>
      extended by java.util.Hashtable<Object,Object>
          extended by java.util.Properties
              extended by org.kuali.common.util.property.ImmutableProperties
All Implemented Interfaces:
Serializable, Cloneable, Map<Object,Object>

public final class ImmutableProperties
extends Properties

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.Properties
defaults
 
Constructor Summary
ImmutableProperties(Properties original)
           
 
Method Summary
 void clear()
           
 Set<Map.Entry<Object,Object>> entrySet()
           
 Set<Object> keySet()
           
 void load(InputStream inStream)
           
 void load(Reader reader)
           
 void loadFromXML(InputStream in)
           
 Object put(Object key, Object value)
           
 void putAll(Map<? extends Object,? extends Object> t)
           
 Object remove(Object key)
           
 Object setProperty(String key, String value)
           
 Collection<Object> values()
           
 
Methods inherited from class java.util.Properties
getProperty, getProperty, list, list, propertyNames, save, store, store, storeToXML, storeToXML, stringPropertyNames
 
Methods inherited from class java.util.Hashtable
clone, contains, containsKey, containsValue, elements, equals, get, hashCode, isEmpty, keys, rehash, size, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ImmutableProperties

public ImmutableProperties(Properties original)
Method Detail

setProperty

public Object setProperty(String key,
                          String value)
Overrides:
setProperty in class Properties

load

public void load(Reader reader)
          throws IOException
Overrides:
load in class Properties
Throws:
IOException

load

public void load(InputStream inStream)
          throws IOException
Overrides:
load in class Properties
Throws:
IOException

loadFromXML

public void loadFromXML(InputStream in)
                 throws IOException,
                        InvalidPropertiesFormatException
Overrides:
loadFromXML in class Properties
Throws:
IOException
InvalidPropertiesFormatException

put

public Object put(Object key,
                  Object value)
Specified by:
put in interface Map<Object,Object>
Overrides:
put in class Hashtable<Object,Object>

remove

public Object remove(Object key)
Specified by:
remove in interface Map<Object,Object>
Overrides:
remove in class Hashtable<Object,Object>

putAll

public void putAll(Map<? extends Object,? extends Object> t)
Specified by:
putAll in interface Map<Object,Object>
Overrides:
putAll in class Hashtable<Object,Object>

clear

public void clear()
Specified by:
clear in interface Map<Object,Object>
Overrides:
clear in class Hashtable<Object,Object>

keySet

public Set<Object> keySet()
Specified by:
keySet in interface Map<Object,Object>
Overrides:
keySet in class Hashtable<Object,Object>

entrySet

public Set<Map.Entry<Object,Object>> entrySet()
Specified by:
entrySet in interface Map<Object,Object>
Overrides:
entrySet in class Hashtable<Object,Object>

values

public Collection<Object> values()
Specified by:
values in interface Map<Object,Object>
Overrides:
values in class Hashtable<Object,Object>


Copyright © 2010-2013 The Kuali Foundation. All Rights Reserved.