public enum FileFormat extends Enum<FileFormat>
Learn more:
Enum Constant and Description |
---|
Archive
Archive file.
|
Database
Database files (via JDBC).
|
Ebook
Ebook document (ePUB, FictionBook, etc).
|
Email
Email document (email messages or email message containers).
|
Image
Image file.
|
Markup
Markup document (HTML, XML, Markdown, etc).
|
Note
Note document.
|
Pdf
PDF document.
|
Presentation
Presentation document (PPT, PPTX, ODP, etc).
|
Spreadsheet
Spreadsheet document (XLS, XLSX, ODS, etc).
|
Unknown
Default value.
|
WordProcessing
Word Processing document (DOC, DOCX, ODT, etc).
|
Modifier and Type | Method and Description |
---|---|
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 Unknown
public static final FileFormat WordProcessing
public static final FileFormat Spreadsheet
public static final FileFormat Presentation
public static final FileFormat Email
public static final FileFormat Pdf
public static final FileFormat Markup
public static final FileFormat Ebook
public static final FileFormat Note
public static final FileFormat Archive
public static final FileFormat Database
public static final FileFormat Image
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 null