public enum SongFormat extends java.lang.Enum<SongFormat>
| Enum Constant and Description |
|---|
FUTURE
Future client NoteBot
|
MCSP
Minecraft Song Planner (Ancestor of Minecraft Note Block Studio)
|
MIDI
Standard MIDI
|
NBS
Minecraft Note Block Studio
|
TXT
BleachHack NoteBot
|
| Modifier and Type | Method and Description |
|---|---|
static SongFormat |
getByExtension(java.lang.String extension) |
static SongFormat |
getByName(java.lang.String name) |
java.util.List<java.lang.String> |
getExtensions() |
java.lang.String |
getName() |
static SongFormat |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SongFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SongFormat NBS
public static final SongFormat MCSP
public static final SongFormat TXT
public static final SongFormat FUTURE
public static final SongFormat MIDI
public static SongFormat[] values()
for (SongFormat c : SongFormat.values()) System.out.println(c);
public static SongFormat valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static SongFormat getByExtension(java.lang.String extension)
public static SongFormat getByName(java.lang.String name)
public java.lang.String getName()
public java.util.List<java.lang.String> getExtensions()