com.github.dandelion.datatables.core.export
Class ExportConf
java.lang.Object
com.github.dandelion.datatables.core.export.ExportConf
public class ExportConf
- extends Object
POJO that stores an export type configuration.
- Author:
- Thibault Duchateau
DEFAULT_CSV_CLASS
public static final String DEFAULT_CSV_CLASS
- See Also:
- Constant Field Values
DEFAULT_XML_CLASS
public static final String DEFAULT_XML_CLASS
- See Also:
- Constant Field Values
DEFAULT_PDF_CLASS
public static final String DEFAULT_PDF_CLASS
- See Also:
- Constant Field Values
DEFAULT_XLS_CLASS
public static final String DEFAULT_XLS_CLASS
- See Also:
- Constant Field Values
DEFAULT_XLSX_CLASS
public static final String DEFAULT_XLSX_CLASS
- See Also:
- Constant Field Values
ExportConf
public ExportConf(String format)
ExportConf
public ExportConf(javax.servlet.http.HttpServletRequest request)
Constructor called from the HtmlTableBuilder. It creates an
instance of ExportConf from the passed HttpServletRequest.
- Parameters:
request -
ExportConf
public ExportConf(String format,
String exportUrl)
mergeWith
public void mergeWith(ExportConf exportConfToMergeFrom)
getFileName
public String getFileName()
setFileName
public void setFileName(String fileName)
getLabel
public String getLabel()
setLabel
public void setLabel(String label)
getCssStyle
public StringBuilder getCssStyle()
setCssStyle
public void setCssStyle(StringBuilder cssStyle)
getCssClass
public StringBuilder getCssClass()
setCssClass
public void setCssClass(StringBuilder cssClass)
getIncludeHeader
public Boolean getIncludeHeader()
setIncludeHeader
public void setIncludeHeader(Boolean includeHeader)
getUrl
public String getUrl()
setUrl
public void setUrl(String url)
getMimeType
public String getMimeType()
setMimeType
public void setMimeType(String mimeType)
hasCustomUrl
public Boolean hasCustomUrl()
setHasCustomUrl
public void setHasCustomUrl(Boolean custom)
getAutoSize
public Boolean getAutoSize()
setAutoSize
public void setAutoSize(Boolean autoSize)
getExportClass
public String getExportClass()
setExportClass
public void setExportClass(String exportClass)
getMethod
public HttpMethod getMethod()
setMethod
public void setMethod(HttpMethod method)
getFormat
public String getFormat()
setFormat
public void setFormat(String format)
getFileExtension
public String getFileExtension()
setFileExtension
public void setFileExtension(String fileExtension)
getOrientation
public ExportConf.Orientation getOrientation()
setOrientation
public void setOrientation(ExportConf.Orientation orientation)
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2013–2014 Dandelion Project. All rights reserved.