|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.displaytag.export.BaseExportView
org.displaytag.export.CsvView
public class CsvView
Export view for comma separated value exporting.
| Constructor Summary | |
|---|---|
CsvView()
|
|
| Method Summary | |
|---|---|
protected java.lang.String |
escapeColumnValue(java.lang.Object value)
Escaping for csv format. |
protected boolean |
getAlwaysAppendCellEnd()
always append cell end string? |
protected boolean |
getAlwaysAppendRowEnd()
always append row end string? |
protected java.lang.String |
getCellEnd()
String to add after a cell. |
java.lang.String |
getMimeType()
MimeType to return. |
protected java.lang.String |
getRowEnd()
String to add after a row. |
void |
setParameters(TableModel tableModel,
boolean exportFullList,
boolean includeHeader,
boolean decorateValues)
initialize the parameters needed for export. |
| Methods inherited from class org.displaytag.export.BaseExportView |
|---|
doExport, doHeaders, getCellStart, getDocumentEnd, getDocumentStart, getRowStart, outputPage |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CsvView()
| Method Detail |
|---|
public void setParameters(TableModel tableModel,
boolean exportFullList,
boolean includeHeader,
boolean decorateValues)
ExportViewdoExport()
and getMimeType(). Classes implementing ExportView should reset any instance field previously set
when this method is called, in order to support instance reusing.
setParameters in interface ExportViewsetParameters in class BaseExportViewtableModel - TableModel to renderexportFullList - boolean export full list?includeHeader - should header be included in export?decorateValues - should output be decorated?BaseExportView.setParameters(TableModel, boolean, boolean, boolean)protected java.lang.String getRowEnd()
BaseExportView
getRowEnd in class BaseExportViewBaseExportView.getRowEnd()protected java.lang.String getCellEnd()
BaseExportView
getCellEnd in class BaseExportViewBaseExportView.getCellEnd()protected boolean getAlwaysAppendCellEnd()
BaseExportView
getAlwaysAppendCellEnd in class BaseExportViewBaseExportView.getAlwaysAppendCellEnd()protected boolean getAlwaysAppendRowEnd()
BaseExportView
getAlwaysAppendRowEnd in class BaseExportViewBaseExportView.getAlwaysAppendRowEnd()public java.lang.String getMimeType()
ExportView
ExportView.getMimeType()protected java.lang.String escapeColumnValue(java.lang.Object value)
escapeColumnValue in class BaseExportViewvalue - original column value
BaseExportView.escapeColumnValue(java.lang.Object)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||