public enum FileFormat extends Enum<FileFormat>
Enum Constant and Description |
---|
BMP
Bmp (Dib) file format.
|
DXF
The Dxf file format
|
GIF
Gif file format.
|
JPEG
Jpeg file format.
|
JPEG2000
Jpeg2000 file format
|
PDF
The pdf file format
|
PNG
Png file format.
|
PSD
Psd file format.
|
SVG
SVG file format
|
TIFF
Tiff file format.
|
WEBP
The webp file format
|
WMF
The Wmf file format
|
Modifier and Type | Method and Description |
---|---|
static FileFormat |
getByType(int value) |
String |
getExtension() |
static String |
getExtension(int value) |
int |
getType()
Gets the value that represents the type of the enum.
|
static FileFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FileFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileFormat BMP
Bmp (Dib) file format.
public static final FileFormat GIF
Gif file format.
public static final FileFormat JPEG
Jpeg file format.
public static final FileFormat PNG
Png file format.
public static final FileFormat TIFF
Tiff file format.
public static final FileFormat PSD
Psd file format.
public static final FileFormat JPEG2000
Jpeg2000 file format
public static final FileFormat PDF
The pdf file format
public static final FileFormat WEBP
The webp file format
public static final FileFormat SVG
SVG file format
public static final FileFormat WMF
The Wmf file format
public static final FileFormat DXF
The Dxf file format
public static FileFormat[] values()
for (FileFormat c : FileFormat.values()) System.out.println(c);
public static FileFormat 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 nullpublic int getType()
public static FileFormat getByType(int value)
public String getExtension()
public static String getExtension(int value)