rabbit.util
Class SProperties

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap<String,String>
          extended by rabbit.util.SProperties
All Implemented Interfaces:
Serializable, Cloneable, Map<String,String>

public class SProperties
extends HashMap<String,String>

A simple string properties class.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Constructor Summary
SProperties()
           
 
Method Summary
 String getProperty(String key)
           
 String getProperty(String key, String defaultValue)
           
 
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Constructor Detail

SProperties

public SProperties()
Method Detail

getProperty

public String getProperty(String key)

getProperty

public String getProperty(String key,
                          String defaultValue)