java.lang.Object
org.displaytag.export.BaseExportView
org.displaytag.export.ExcelView
- All Implemented Interfaces:
- ExportView, TextExportView
- public class ExcelView
- extends BaseExportView
Export view for excel exporting.
- Version:
- $Revision: 720 $ ($Author: fgiust $)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExcelView
public ExcelView()
setParameters
public void setParameters(org.displaytag.model.TableModel tableModel,
boolean exportFullList,
boolean includeHeader,
boolean decorateValues)
- Description copied from interface:
ExportView
- initialize the parameters needed for export. The method is guarantee be called before
doExport()
and getMimeType(). Classes implementing ExportView should reset any instance field previously set
when this method is called, in order to support instance reusing.
- Specified by:
setParameters in interface ExportView- Overrides:
setParameters in class BaseExportView
getMimeType
public java.lang.String getMimeType()
- Description copied from interface:
ExportView
- MimeType to return.
getRowEnd
protected java.lang.String getRowEnd()
- Description copied from class:
BaseExportView
- String to add after a row.
- Overrides:
getRowEnd in class BaseExportView
getCellEnd
protected java.lang.String getCellEnd()
- Description copied from class:
BaseExportView
- String to add after a cell.
- Specified by:
getCellEnd in class BaseExportView
getAlwaysAppendCellEnd
protected boolean getAlwaysAppendCellEnd()
- Description copied from class:
BaseExportView
- always append cell end string?
- Specified by:
getAlwaysAppendCellEnd in class BaseExportView
getAlwaysAppendRowEnd
protected boolean getAlwaysAppendRowEnd()
- Description copied from class:
BaseExportView
- always append row end string?
- Specified by:
getAlwaysAppendRowEnd in class BaseExportView
escapeColumnValue
protected java.lang.String escapeColumnValue(java.lang.Object value)
- Escaping for excel format.
- Quotes inside quoted strings are escaped with a double quote
- Fields are surrounded by " (should be optional, but sometimes you get a "Sylk error" without those)
- Specified by:
escapeColumnValue in class BaseExportView