public static enum Image.Format extends Enum<Image.Format>
image data may be produced,
as indicated by Image.dataFormat().| Modifier and Type | Method and Description |
|---|---|
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.
|
public static final Image.Format JPEG
public static final Image.Format TIFF
public static final Image.Format GIF
public static final Image.Format PNG
public static final Image.Format BMP
public static Image.Format[] values()
for (Image.Format c : Image.Format.values()) System.out.println(c);
public static Image.Format valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null