Enum Constant and Description |
---|
CSV
Represents Comma-separated values (CSV) output format.
|
DOCX
Represents Microsoft Word (OpenXML) output format.
|
HTML
Represents HTML output format.
|
PDF
Represents Adobe Portable Document Format.
|
RTF
Represents Rich Text Format output format.
|
XLS
Represents Microsoft Excel output format.
|
XLSX
Represents Microsoft Excel (OpenXML) output format.
|
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
mimeType
The report output mime type.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMimeType()
Returns the mime type for this instance.
|
static MediaType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MediaType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MediaType CSV
public static final MediaType HTML
public static final MediaType PDF
public static final MediaType XLS
public static final MediaType XLSX
public static final MediaType RTF
public static final MediaType DOCX
public static MediaType[] values()
for (MediaType c : MediaType.values()) System.out.println(c);
public static MediaType 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 getMimeType()