playabletype.java
来自「FreeTTS is a speech synthesis system wri」· Java 代码 · 共 62 行
JAVA
62 行
/** * Copyright 2001 Sun Microsystems, Inc. * * See the file "license.terms" for information on usage and * redistribution of this file, and for a DISCLAIMER OF ALL * WARRANTIES. *//** * Defines constants which represent different types of <code>Playable</code> * objects, which can be played by the <code>Player</code>. */public class PlayableType { private String typeName; /** * The ASCII text type. */ public static final PlayableType TEXT = new PlayableType("text"); /** * The ASCII text file type. */ public static final PlayableType TEXT_FILE = new PlayableType("text file"); /** * The JSML file type. */ public static final PlayableType JSML_FILE = new PlayableType("JSML file"); /** * The JSML text type. */ public static final PlayableType JSML = new PlayableType("JSML"); /** * The URL type. */ public static final PlayableType URL = new PlayableType("URL"); /** * Constructs a PlayableType with the given name. * * @param typeName the PlayableType name */ private PlayableType(String typeName) { this.typeName = typeName; } /** * Returns the name of the type. * * @return the name of the PlayableType */ public String toString() { return typeName; }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?