public enum TextureTypeName extends java.lang.Enum<TextureTypeName>
Modifier and Type | Method and Description |
---|---|
static TextureTypeName |
fromFileName(java.lang.String fileName) |
static TextureTypeName |
fromValue(java.lang.String value) |
java.lang.String |
getMimeType() |
java.lang.String |
getValue() |
java.lang.String |
toString() |
static TextureTypeName |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TextureTypeName[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@SerializedName(value="PNG") public static final TextureTypeName PNG
@SerializedName(value="JPG") public static final TextureTypeName JPG
public static TextureTypeName[] values()
for (TextureTypeName c : TextureTypeName.values()) System.out.println(c);
public static TextureTypeName 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 java.lang.String getValue()
public java.lang.String getMimeType()
public java.lang.String toString()
toString
in class java.lang.Enum<TextureTypeName>
public static TextureTypeName fromValue(java.lang.String value)
public static TextureTypeName fromFileName(java.lang.String fileName)