|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.cmu.sphinx.frontend.BaseDataProcessor
public abstract class BaseDataProcessor
An abstract DataProcessor implementing elements common to all concrete DataProcessors, such as name, predecessor, and timer.
| Constructor Summary | |
|---|---|
BaseDataProcessor()
|
|
| Method Summary | |
|---|---|
abstract Data |
getData()
Returns the processed Data output. |
java.lang.String |
getName()
Returns the name of this DataProcessor. |
DataProcessor |
getPredecessor()
Returns the predecessor DataProcessor. |
Timer |
getTimer()
Returns the timer this DataProcessor uses. |
void |
initialize()
Initializes this DataProcessor. |
void |
newProperties(PropertySheet ps)
This method is called when this configurable component needs to be reconfigured. |
void |
setPredecessor(DataProcessor predecessor)
Sets the predecessor DataProcessor. |
java.lang.String |
toString()
Returns the name of this BaseDataProcessor. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BaseDataProcessor()
| Method Detail |
|---|
public void newProperties(PropertySheet ps)
throws PropertyException
Configurable
newProperties in interface Configurableps - a property sheet holding the new data
PropertyException - if there is a problem with the properties.
public abstract Data getData()
throws DataProcessingException
getData in interface DataProcessorDataProcessingException - if a data processor error occurspublic void initialize()
initialize in interface DataProcessorpublic java.lang.String getName()
getName in interface DataProcessorpublic DataProcessor getPredecessor()
getPredecessor in interface DataProcessorpublic Timer getTimer()
public void setPredecessor(DataProcessor predecessor)
setPredecessor in interface DataProcessorpredecessor - the new predecessor of this DataProcessorpublic java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||