public static enum Image.Format extends java.lang.Enum<Image.Format>
Modifier and Type | Method and Description |
---|---|
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 GIF
public static final Image.Format TIFF
public static final Image.Format BMP
public static final Image.Format ICO
public static final Image.Format WEBP
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 null