public class ExportConf extends Object
POJO that stores an export type configuration.
Modifier and Type | Class and Description |
---|---|
static class |
ExportConf.Builder
Builder for
ExportConf . |
static class |
ExportConf.Orientation |
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_CSV_CLASS |
static String |
DEFAULT_PDF_CLASS |
static String |
DEFAULT_XLS_CLASS |
static String |
DEFAULT_XLSX_CLASS |
static String |
DEFAULT_XML_CLASS |
Constructor and Description |
---|
ExportConf(javax.servlet.http.HttpServletRequest request)
Constructor called from the
HtmlTableBuilder . |
ExportConf(String format) |
ExportConf(String format,
String exportUrl) |
Modifier and Type | Method and Description |
---|---|
Boolean |
getAutoSize() |
StringBuilder |
getCssClass() |
StringBuilder |
getCssStyle() |
String |
getExportClass() |
String |
getFileExtension() |
String |
getFileName() |
String |
getFormat() |
Boolean |
getIncludeHeader() |
String |
getLabel() |
HttpMethod |
getMethod() |
String |
getMimeType() |
ExportConf.Orientation |
getOrientation() |
String |
getUrl() |
Boolean |
hasCustomUrl() |
void |
mergeWith(ExportConf exportConfToMergeFrom) |
void |
setAutoSize(Boolean autoSize) |
void |
setCssClass(StringBuilder cssClass) |
void |
setCssStyle(StringBuilder cssStyle) |
void |
setExportClass(String exportClass) |
void |
setFileExtension(String fileExtension) |
void |
setFileName(String fileName) |
void |
setFormat(String format) |
void |
setHasCustomUrl(Boolean custom) |
void |
setIncludeHeader(Boolean includeHeader) |
void |
setLabel(String label) |
void |
setMethod(HttpMethod method) |
void |
setMimeType(String mimeType) |
void |
setOrientation(ExportConf.Orientation orientation) |
void |
setUrl(String url) |
String |
toString() |
public static final String DEFAULT_CSV_CLASS
public static final String DEFAULT_XML_CLASS
public static final String DEFAULT_PDF_CLASS
public static final String DEFAULT_XLS_CLASS
public static final String DEFAULT_XLSX_CLASS
public ExportConf(String format)
public ExportConf(javax.servlet.http.HttpServletRequest request)
Constructor called from the HtmlTableBuilder
. It creates an
instance of ExportConf
from the passed HttpServletRequest
.
request
- public void mergeWith(ExportConf exportConfToMergeFrom)
public String getFileName()
public void setFileName(String fileName)
public String getLabel()
public void setLabel(String label)
public StringBuilder getCssStyle()
public void setCssStyle(StringBuilder cssStyle)
public StringBuilder getCssClass()
public void setCssClass(StringBuilder cssClass)
public Boolean getIncludeHeader()
public void setIncludeHeader(Boolean includeHeader)
public String getUrl()
public void setUrl(String url)
public String getMimeType()
public void setMimeType(String mimeType)
public Boolean hasCustomUrl()
public void setHasCustomUrl(Boolean custom)
public Boolean getAutoSize()
public void setAutoSize(Boolean autoSize)
public String getExportClass()
public void setExportClass(String exportClass)
public HttpMethod getMethod()
public void setMethod(HttpMethod method)
public String getFormat()
public void setFormat(String format)
public String getFileExtension()
public void setFileExtension(String fileExtension)
public ExportConf.Orientation getOrientation()
public void setOrientation(ExportConf.Orientation orientation)
Copyright © 2013–2015 Dandelion Project. All rights reserved.