📄 playabletype.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 + -