Class ExcelView
java.lang.Object
org.displaytag.export.BaseExportView
org.displaytag.export.ExcelView
- All Implemented Interfaces:
ExportView, TextExportView
Export view for excel exporting.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringescapeColumnValue(Object value) Escaping for excel format.protected booleanGets the always append cell end.protected booleanGets the always append row end.protected StringGets the cell end.Gets the mime type.protected StringGets the row end.Methods inherited from class BaseExportView
doExport, doHeaders, getCellStart, getDocumentEnd, getDocumentStart, getRowStart, outputPage, setParameters
-
Constructor Details
-
ExcelView
public ExcelView()
-
-
Method Details
-
getMimeType
-
getRowEnd
Gets the row end.- Overrides:
getRowEndin classBaseExportView- Returns:
- the row end
- See Also:
-
getCellEnd
Gets the cell end.- Specified by:
getCellEndin classBaseExportView- Returns:
- the cell end
- See Also:
-
getAlwaysAppendCellEnd
protected boolean getAlwaysAppendCellEnd()Gets the always append cell end.- Specified by:
getAlwaysAppendCellEndin classBaseExportView- Returns:
- false
- See Also:
-
getAlwaysAppendRowEnd
protected boolean getAlwaysAppendRowEnd()Gets the always append row end.- Specified by:
getAlwaysAppendRowEndin classBaseExportView- Returns:
- false
- See Also:
-
escapeColumnValue
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:
escapeColumnValuein classBaseExportView- Parameters:
value- the value- Returns:
- the string
- See Also:
-