public class DelimiterSeperatedValuesExporter extends DownloadExporter<Pair<String,String>>
Modifier and Type | Field and Description |
---|---|
protected String |
charset |
protected String |
delimiter |
ROW_STYLE_HIDDEN
Constructor and Description |
---|
DelimiterSeperatedValuesExporter() |
Modifier and Type | Method and Description |
---|---|
void |
download(HttpServletRequest req,
HttpServletResponse res)
Implement this method to provide download.
|
protected Pair<String,String> |
export(ReportingTableModel tm,
Query q) |
Pair<String,String> |
getDataObject(Query q,
ReportingTableModel tm)
returns the Object which is generated by this Exporter
called by abstract Class DownloadExpoerter
|
String |
getExportName() |
JSONArray |
getExportOptionsJSON()
add configureable fields...
|
String |
getFileTypeExtension() |
protected CSVSettings |
getSettings() |
getClientSideRenderer, getData, getDataBytes, getDataStream, getFileName, getFileName, getResultTableModel, toJson
addConfigOptions, export, generateMatrixTable, getComponentData, getHeaderInfos, getId, getLineStyles, getPage, getResultDetailsJson, getToolbarActions, isJsonExport
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addConfigOptions, export
public JSONArray getExportOptionsJSON()
ReportingExporter
getExportOptionsJSON
in interface ReportingExporter
getExportOptionsJSON
in class DownloadExporter<Pair<String,String>>
public Pair<String,String> getDataObject(Query q, ReportingTableModel tm)
DownloadExporter
getDataObject
in class DownloadExporter<Pair<String,String>>
q
- the executed querytm
- the result tablemodelprotected Pair<String,String> export(ReportingTableModel tm, Query q)
public void download(HttpServletRequest req, HttpServletResponse res)
DownloadExporter
HttpSession
Paramters "queryid"+timestamp and "querydata"+timestamp
Note: Set the correct Contenttype and length of response.download
in class DownloadExporter<Pair<String,String>>
req
- the download requestres
- the resonse objectprotected CSVSettings getSettings()
public String getExportName()
HTMLExporter
getExportName
in interface ReportingExporter
getExportName
in class HTMLExporter
public String getFileTypeExtension()
@enterprise 10.0.39049 Copyright © 2024 FREQUENTIS AG. All Rights Reserved.