public enum ImageFormats extends java.lang.Enum<ImageFormats> implements ImageFormat
Enum Constant and Description |
---|
BMP |
DCX |
GIF |
ICNS |
ICO |
JBIG2 |
JPEG |
PAM |
PBM |
PCX |
PGM |
PNG |
PNM |
PPM |
PSD |
RGBE |
TGA |
TIFF |
UNKNOWN |
WBMP |
XBM |
XPM |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getExtension()
Get the file extension associated with this
ImageFormat . |
java.lang.String |
getName()
Get the name of this
ImageFormat . |
static ImageFormats |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ImageFormats[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImageFormats UNKNOWN
public static final ImageFormats BMP
public static final ImageFormats DCX
public static final ImageFormats GIF
public static final ImageFormats ICNS
public static final ImageFormats ICO
public static final ImageFormats JBIG2
public static final ImageFormats JPEG
public static final ImageFormats PAM
public static final ImageFormats PSD
public static final ImageFormats PBM
public static final ImageFormats PGM
public static final ImageFormats PNM
public static final ImageFormats PPM
public static final ImageFormats PCX
public static final ImageFormats PNG
public static final ImageFormats RGBE
public static final ImageFormats TGA
public static final ImageFormats TIFF
public static final ImageFormats WBMP
public static final ImageFormats XBM
public static final ImageFormats XPM
public static ImageFormats[] values()
for (ImageFormats c : ImageFormats.values()) System.out.println(c);
public static ImageFormats 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.String getName()
ImageFormat
ImageFormat
.getName
in interface ImageFormat
public java.lang.String getExtension()
ImageFormat
ImageFormat
.getExtension
in interface ImageFormat
Copyright © 2010 - 2020 Adobe. All Rights Reserved