org.starhope.appius.game
Enum AssetFormat
java.lang.Object
java.lang.Enum<AssetFormat>
org.starhope.appius.game.AssetFormat
- All Implemented Interfaces:
- Serializable, Comparable<AssetFormat>
public enum AssetFormat
- extends Enum<AssetFormat>
- Author:
- brpocock
Method Summary |
static AssetFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static AssetFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
Format_AUDIO_MPEG3
public static final AssetFormat Format_AUDIO_MPEG3
Format_AUDIO_SPEEX
public static final AssetFormat Format_AUDIO_SPEEX
Format_AUDIO_VORBIS
public static final AssetFormat Format_AUDIO_VORBIS
Format_IMAGE_MNG
public static final AssetFormat Format_IMAGE_MNG
Format_IMAGE_PNG
public static final AssetFormat Format_IMAGE_PNG
Format_IMAGE_PNG_SPRITES
public static final AssetFormat Format_IMAGE_PNG_SPRITES
Format_VIDEO_FLASH
public static final AssetFormat Format_VIDEO_FLASH
Format_VIDEO_THEORA
public static final AssetFormat Format_VIDEO_THEORA
values
public static AssetFormat[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (AssetFormat c : AssetFormat.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static AssetFormat valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null