@ConstantClass @Scriptable public enum IMAGE_FORMAT extends java.lang.Enum<IMAGE_FORMAT>
Modifier and Type | Method and Description |
---|---|
static IMAGE_FORMAT |
fromMimeType(java.lang.String p_strMimeType) |
static IMAGE_FORMAT |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IMAGE_FORMAT[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IMAGE_FORMAT PNG
public static final IMAGE_FORMAT JPEG
public static final IMAGE_FORMAT BMP
public static final IMAGE_FORMAT GIF
public static IMAGE_FORMAT[] values()
for (IMAGE_FORMAT c : IMAGE_FORMAT.values()) System.out.println(c);
public static IMAGE_FORMAT 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 IMAGE_FORMAT fromMimeType(java.lang.String p_strMimeType)