|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.cmu.sphinx.util.props.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 |
|
RawPropertyData(java.lang.String name,
java.lang.String className,
java.util.Map<java.lang.String,java.lang.Object> properties)
|
Method Summary | |
---|---|
void |
add(java.lang.String propName,
java.lang.String propValue)
Adds a new property |
RawPropertyData |
flatten(ConfigurationManager cm)
Returns a copy of this property data instance with all ${}-fields resolved. |
java.lang.String |
getClassName()
|
java.lang.String |
getGlobalProperty(java.lang.String key,
java.util.Map<java.lang.String,java.lang.String> globalProperties)
Lookup a global symbol with a given name (and resolves |
java.util.Map<java.lang.String,java.lang.Object> |
getProperties()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, 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 itempublic RawPropertyData(java.lang.String name, java.lang.String className, java.util.Map<java.lang.String,java.lang.Object> properties)
Method Detail |
---|
public void add(java.lang.String propName, java.lang.String propValue)
propName
- the name of the propertypropValue
- the value of the propertypublic java.lang.String getClassName()
public java.util.Map<java.lang.String,java.lang.Object> getProperties()
public RawPropertyData flatten(ConfigurationManager cm)
public java.lang.String getGlobalProperty(java.lang.String key, java.util.Map<java.lang.String,java.lang.String> globalProperties)
key
- the name of the propertyglobalProperties
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |