| Enum Constant and Description |
|---|
BMP |
GIF |
JPEG |
PICT |
PNG |
PSD |
SVG |
TIFF |
XCF |
| Modifier and Type | Method and Description |
|---|---|
static Format |
findFormat(java.lang.String formatOrExtension) |
static boolean |
isImage(java.lang.String formatOrExtension) |
static Format |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Format[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Format BMP
public static final Format GIF
public static final Format JPEG
public static final Format PNG
public static final Format PSD
public static final Format SVG
public static final Format TIFF
public static final Format XCF
public static final Format PICT
public static Format[] values()
for (Format c : Format.values()) System.out.println(c);
public static 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 Format findFormat(java.lang.String formatOrExtension)
public static boolean isImage(java.lang.String formatOrExtension)