public class ExportType extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static ExportType |
CSV |
static ExportType |
HTML |
static ExportType |
PDF |
static ExportType |
TXT |
static ExportType |
XLSX |
Constructor and Description |
---|
ExportType(String name,
String extension,
String mimeTypeString) |
Modifier and Type | Method and Description |
---|---|
String |
getExtension()
The export type is associated with the file extension
|
String |
getMimeTypeString()
For export, the accurate MIME description needs to be passed in Headers
for the client to verify he type of resource being exported
|
String |
getName()
This type will be referred to by this Name; should be unique
|
void |
setExtension(String extension)
The export type is associated with the file extension
|
void |
setMimeTypeString(String mimeTypeString)
For export, the accurate MIME description needs to be passed in Headers
for the client to verify he type of resource being exported
|
void |
setName(String name)
This type will be referred to by this Name; should be unique
|
public static final ExportType XLSX
public static final ExportType TXT
public static final ExportType HTML
public static final ExportType PDF
public static final ExportType CSV
public String getName()
public void setName(String name)
public String getExtension()
public void setExtension(String extension)
public String getMimeTypeString()
public void setMimeTypeString(String mimeTypeString)
Copyright © 2018. All rights reserved.