public enum FileFormat extends java.lang.Enum<FileFormat>
Enum Constant and Description |
---|
BMP |
DCX |
DOC |
DOCX |
GIF |
IOCA |
JPEG |
JPG |
MODCA |
PCX |
PDF |
PLAIN |
PNG |
PPT |
PPTX |
TIFF |
XLS |
XLSX |
Modifier and Type | Field and Description |
---|---|
java.lang.String |
value |
Modifier and Type | Method and Description |
---|---|
static FileFormat |
valueOf(java.lang.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 PDF
public static final FileFormat DOC
public static final FileFormat DOCX
public static final FileFormat XLS
public static final FileFormat XLSX
public static final FileFormat PPT
public static final FileFormat PPTX
public static final FileFormat TIFF
public static final FileFormat MODCA
public static final FileFormat IOCA
public static final FileFormat GIF
public static final FileFormat PCX
public static final FileFormat DCX
public static final FileFormat PNG
public static final FileFormat JPG
public static final FileFormat JPEG
public static final FileFormat BMP
public static final FileFormat PLAIN
public static FileFormat[] values()
for (FileFormat c : FileFormat.values()) System.out.println(c);
public static FileFormat 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