|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.cmu.sphinx.tools.gui.RawPropertyData
public class RawPropertyData
Holds the raw property data just as it has come in from the properties file.
Constructor Summary | |
---|---|
RawPropertyData(java.lang.String name,
java.lang.String className)
Creates a raw property data item |
Method Summary | |
---|---|
void |
add(java.lang.String propName,
java.util.List propValue)
Adds a new property |
void |
add(java.lang.String propName,
java.lang.String propValue)
Adds a new property |
void |
change(java.lang.String propName,
java.util.List propValue)
Change property value |
void |
change(java.lang.String propName,
java.lang.String propValue)
Change property value |
boolean |
contains(java.lang.String propName)
Determines if the map already contains an entry for this property |
java.lang.String |
getClassName()
|
java.lang.String |
getName()
|
java.util.Map |
getProperties()
|
void |
remove(java.lang.String propName)
Remove property |
java.lang.String |
toString()
Provide information stored inside this Object, used mainly for debugging / testing |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RawPropertyData(java.lang.String name, java.lang.String className)
name
- the name of the itemclassName
- the class name of the itemMethod Detail |
---|
public void add(java.lang.String propName, java.lang.String propValue)
propName
- the name of the propertypropValue
- the value of the propertypublic void add(java.lang.String propName, java.util.List propValue)
propName
- the name of the propertypropValue
- the value of the propertypublic void change(java.lang.String propName, java.lang.String propValue)
propName
- the name of the propertypropValue
- the new value of the propertypublic void remove(java.lang.String propName)
propName
- the name of the propertypublic void change(java.lang.String propName, java.util.List propValue)
propName
- the name of the propertypropValue
- the new value of the propertypublic java.lang.String getClassName()
public java.lang.String getName()
public java.util.Map getProperties()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean contains(java.lang.String propName)
propName
- the property of interest
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |