Enum IMAGE_FORMAT
- java.lang.Object
-
- java.lang.Enum<IMAGE_FORMAT>
-
- de.uplanet.lucy.server.util.image.IMAGE_FORMAT
-
- All Implemented Interfaces:
Serializable
,Comparable<IMAGE_FORMAT>
@ConstantClass @Scriptable public enum IMAGE_FORMAT extends Enum<IMAGE_FORMAT>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IMAGE_FORMAT
fromMimeType(String p_strMimeType)
static IMAGE_FORMAT
valueOf(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.
-
-
-
Enum Constant Detail
-
PNG
public static final IMAGE_FORMAT PNG
-
JPEG
public static final IMAGE_FORMAT JPEG
-
BMP
public static final IMAGE_FORMAT BMP
-
GIF
public static final IMAGE_FORMAT GIF
-
-
Method Detail
-
values
public static IMAGE_FORMAT[] 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 (IMAGE_FORMAT c : IMAGE_FORMAT.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IMAGE_FORMAT 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 nameNullPointerException
- if the argument is null
-
fromMimeType
public static IMAGE_FORMAT fromMimeType(String p_strMimeType)
-
-