edu.cmu.sphinx.util.props
Class ConfigurableAdapter

java.lang.Object
  extended by edu.cmu.sphinx.util.props.ConfigurableAdapter
All Implemented Interfaces:
Configurable

public class ConfigurableAdapter
extends java.lang.Object
implements Configurable

An empty dummy implementation of the Configurable interface. The main purpose of this class is to avoid emtpy implementations of newProperties for components which do not own any configurable properties.

Author:
Holger Brandl

Constructor Summary
ConfigurableAdapter()
           
 
Method Summary
 void newProperties(PropertySheet ps)
          This method is called when this configurable component needs to be reconfigured.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigurableAdapter

public ConfigurableAdapter()
Method Detail

newProperties

public void newProperties(PropertySheet ps)
                   throws PropertyException
Description copied from interface: Configurable
This method is called when this configurable component needs to be reconfigured.

Specified by:
newProperties in interface Configurable
Parameters:
ps - a property sheet holding the new data
Throws:
PropertyException - if there is a problem with the properties.