edu.cmu.sphinx.tools.gui
Class ConfigProperties

java.lang.Object
  extended by 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
 
Method Summary
 void addRPDProperties(java.util.Map p)
          add a whole set of Raw Property Data properties ( NOT Global properties )
 java.util.Map getGlobal()
           
 java.util.Map getOtherProp()
           
 java.util.Map getProperty()
           
 void setGlobal(java.util.Map global)
           
 void setProperty(java.util.Map c)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigProperties

public ConfigProperties()
Creates a new instance of ConfigProperties

Method Detail

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