edu.cmu.sphinx.frontend.util
Class FrontEndUtils

java.lang.Object
  extended by edu.cmu.sphinx.frontend.util.FrontEndUtils

public class FrontEndUtils
extends java.lang.Object

Some little helper methods to ease the handling of frontend-processor chains.

Author:
Holger Brandl

Constructor Summary
FrontEndUtils()
           
 
Method Summary
static
<T extends DataProcessor>
T
getFrontEndProcessor(DataProcessor dp, java.lang.Class<T> predecClass)
          Returns a the next DataProcessor of type predecClass which preceeds dp
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FrontEndUtils

public FrontEndUtils()
Method Detail

getFrontEndProcessor

public static <T extends DataProcessor> T getFrontEndProcessor(DataProcessor dp,
                                                               java.lang.Class<T> predecClass)
Returns a the next DataProcessor of type predecClass which preceeds dp