net.sf.jml.util
Class StringHolder
java.lang.Object
net.sf.jml.util.StringHolder
- All Implemented Interfaces:
- Cloneable
public final class StringHolder
- extends Object
- implements Cloneable
Hold Strings.
- Author:
- Roger Chen
StringHolder
public StringHolder()
getProperties
public Map<String,String> getProperties()
getProperty
public String getProperty(String key)
getIntProperty
public int getIntProperty(String key)
getIntProperty
public int getIntProperty(String key,
int defaultValue)
setProperty
public void setProperty(String key,
String value)
setProperty
public void setProperty(String key,
int value)
removeProperty
public void removeProperty(String key)
clear
public void clear()
parseString
public void parseString(String s)
toString
public String toString()
- Overrides:
toString
in class Object
clone
public Object clone()
- Overrides:
clone
in class Object