upstream version 1.2.2
[debian/freetts] / com / sun / speech / freetts / FeatureProcessor.java
1 /**
2  * Portions Copyright 2001 Sun Microsystems, Inc.
3  * Portions Copyright 1999-2001 Language Technologies Institute, 
4  * Carnegie Mellon University.
5  * All Rights Reserved.  Use is subject to license terms.
6  * 
7  * See the file "license.terms" for information on usage and
8  * redistribution of this file, and for a DISCLAIMER OF ALL 
9  * WARRANTIES.
10  */
11 package com.sun.speech.freetts;
12
13 /**
14  * Performs a specific type of processing on an item and returns an
15  * object.   
16  */
17 public interface FeatureProcessor {
18
19     /**
20      * Performs some processing on the given item.
21      * @param  item  the item to process
22      *
23      * @throws ProcessException if an exception occurred during the
24      *   processing
25      */
26     public String process(Item item) throws ProcessException;
27 }
28