edu.cmu.sphinx.tools.gui
Class ConfigProperties
java.lang.Object
edu.cmu.sphinx.tools.gui.ConfigProperties
public class ConfigProperties
- extends java.lang.Object
This class stores all the configuration information to be written to output
and the properties loaded from input file
It does not create any HashMap instances, so these responsibilites are on the creator
and be careful when modifying the globalProperties and propertyMap because
the original data would also be modified
- Author:
- Ariani
Constructor Summary |
ConfigProperties()
Creates a new instance of ConfigProperties |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConfigProperties
public ConfigProperties()
- Creates a new instance of ConfigProperties
getGlobal
public java.util.Map getGlobal()
- Returns:
- get the Map of Global properties
getOtherProp
public java.util.Map getOtherProp()
- Returns:
- get the Map of component properties / configuration set
with classname as the Map key
getProperty
public java.util.Map getProperty()
- Returns:
- the configuration set/component properties
with configuration name as Map key
setGlobal
public void setGlobal(java.util.Map global)
- Parameters:
global
- Set the global Map to this Map
addRPDProperties
public void addRPDProperties(java.util.Map p)
- add a whole set of Raw Property Data properties ( NOT Global properties )
- Parameters:
p
- Map
of properties with key-value of
String name,RawPropertyData
setProperty
public void setProperty(java.util.Map c)
- Parameters:
c
- Set the component properties to this one