public class ExcelExportWriter extends java.lang.Object implements IExportWriter
| Constructor and Description |
|---|
ExcelExportWriter() |
ExcelExportWriter(java.lang.String type) |
ExcelExportWriter(java.lang.String type,
java.lang.String dateTimeFormat) |
| Modifier and Type | Method and Description |
|---|---|
void |
beginDocument(java.lang.String name,
java.io.OutputStream out)
Called at the start of process to create the output document, which should get written out 'out'
|
void |
beginRow()
Called at the start of every row
|
void |
emitCell(int cellPos,
java.lang.Object val,
int maxType,
ICellStyle style,
IExportContext context)
Writes a cell's value to the output document
|
void |
emitComma()
Writes a single comma string value to the output document
|
void |
endDocument()
Called at the end of the process to finalize the document creation
|
void |
endRow()
Called at the end of every row
|
public ExcelExportWriter()
public ExcelExportWriter(java.lang.String type)
public ExcelExportWriter(java.lang.String type,
java.lang.String dateTimeFormat)
public void beginDocument(java.lang.String name,
java.io.OutputStream out)
IExportWriterbeginDocument in interface IExportWriterpublic void endDocument()
IExportWriterendDocument in interface IExportWriterpublic void beginRow()
IExportWriterbeginRow in interface IExportWriterpublic void endRow()
IExportWriterendRow in interface IExportWriterpublic void emitCell(int cellPos,
java.lang.Object val,
int maxType,
ICellStyle style,
IExportContext context)
IExportWriteremitCell in interface IExportWritercellPos - Cell postition, starting at 0val - Cell valuemaxType - MXFormat typestyle - Style to apply (can be null)context - IExportContext contextpublic void emitComma()
IExportWriteremitComma in interface IExportWriter