org.starhope.appius.game
Enum AssetFormat

java.lang.Object
  extended by java.lang.Enum<AssetFormat>
      extended by org.starhope.appius.game.AssetFormat
All Implemented Interfaces:
Serializable, Comparable<AssetFormat>

public enum AssetFormat
extends Enum<AssetFormat>

Author:
brpocock@star-hope.org

Enum Constant Summary
Format_AUDIO_MPEG3
          WRITEME
Format_AUDIO_SPEEX
          WRITEME
Format_AUDIO_VORBIS
          WRITEME
Format_IMAGE_MNG
          WRITEME
Format_IMAGE_PNG
          WRITEME
Format_IMAGE_PNG_SPRITES
          WRITEME
Format_VIDEO_FLASH
          WRITEME
Format_VIDEO_THEORA
          WRITEME
 
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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

Format_AUDIO_MPEG3

public static final AssetFormat Format_AUDIO_MPEG3
WRITEME


Format_AUDIO_SPEEX

public static final AssetFormat Format_AUDIO_SPEEX
WRITEME


Format_AUDIO_VORBIS

public static final AssetFormat Format_AUDIO_VORBIS
WRITEME


Format_IMAGE_MNG

public static final AssetFormat Format_IMAGE_MNG
WRITEME


Format_IMAGE_PNG

public static final AssetFormat Format_IMAGE_PNG
WRITEME


Format_IMAGE_PNG_SPRITES

public static final AssetFormat Format_IMAGE_PNG_SPRITES
WRITEME


Format_VIDEO_FLASH

public static final AssetFormat Format_VIDEO_FLASH
WRITEME


Format_VIDEO_THEORA

public static final AssetFormat Format_VIDEO_THEORA
WRITEME

Method Detail

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