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.
7 * See the file "license.terms" for information on usage and
8 * redistribution of this file, and for a DISCLAIMER OF ALL
11 package com.sun.speech.freetts;
14 * Specifies the input mode of FreeTTS.
16 public class InputMode {
18 private final String name;
20 private InputMode(String name) {
24 public String toString() {
29 * Indicates that there is no input mode
31 public static final InputMode NONE = new InputMode("none");
34 * Indicates that the input is from a file.
36 public static final InputMode FILE = new InputMode("file");
39 * Indicates that the input is from text.
41 public static final InputMode TEXT = new InputMode("text");
44 * Indicates that the input is from a URL.
46 public static final InputMode URL = new InputMode("url");
49 * Indicates that the input is a set of lines in a file..
51 public static final InputMode LINES = new InputMode("lines");
55 * Indicates that the input is from the keyboard.
57 public static final InputMode INTERACTIVE = new InputMode("interactive");