⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 playabletype.java

📁 使用Exlipse编写的一个语音程序
💻 JAVA
字号:
/** * 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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -