public enum ImageTypeEnum extends java.lang.Enum<ImageTypeEnum> implements JREnum
Enum Constant and Description |
---|
GIF
Specifies that the image is of GIF type.
|
JPEG
Specifies that the image is of JPEG type.
|
PNG
Specifies that the image is of PNG type.
|
TIFF
Specifies that the image is of TIFF type.
|
UNKNOWN
Specifies that the image is of unknown type.
|
Modifier and Type | Method and Description |
---|---|
static ImageTypeEnum |
getByName(java.lang.String name) |
static ImageTypeEnum |
getByValue(byte value)
Deprecated.
Used only by deprecated serialized fields.
|
static ImageTypeEnum |
getByValue(java.lang.Byte value)
Deprecated.
Used only by deprecated serialized fields.
|
java.lang.String |
getMimeType() |
java.lang.String |
getName() |
byte |
getValue()
Deprecated.
Used only by deprecated serialized fields.
|
java.lang.Byte |
getValueByte()
Deprecated.
Used only by deprecated serialized fields.
|
static ImageTypeEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ImageTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImageTypeEnum UNKNOWN
public static final ImageTypeEnum GIF
public static final ImageTypeEnum JPEG
public static final ImageTypeEnum PNG
public static final ImageTypeEnum TIFF
public static ImageTypeEnum[] values()
for (ImageTypeEnum c : ImageTypeEnum.values()) System.out.println(c);
public static ImageTypeEnum 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.Byte getValueByte()
getValueByte
in interface JREnum
public final byte getValue()
public java.lang.String getMimeType()
public static ImageTypeEnum getByName(java.lang.String name)
public static ImageTypeEnum getByValue(java.lang.Byte value)
public static ImageTypeEnum getByValue(byte value)
© 2001-2014 TIBCO Software Inc. www.jaspersoft.com