public enum ExportFormat extends Enum<ExportFormat>
| Enum Constant and Description |
|---|
CSV
Comma Separated Value.
|
ODS
Document ODS.
|
PDF
Document PDF.
|
RTF
Document RTF.
|
XLS
Document Excel.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getTypeMime() |
static ExportFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExportFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExportFormat XLS
public static final ExportFormat RTF
public static final ExportFormat CSV
public static final ExportFormat PDF
public static final ExportFormat ODS
public static ExportFormat[] values()
for (ExportFormat c : ExportFormat.values()) System.out.println(c);
public static ExportFormat 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 String getTypeMime()
Copyright © 2016. All Rights Reserved.