Package com.macrofocus.molap.exporter
Class ExcelDataFrameWriter
- java.lang.Object
-
- com.macrofocus.molap.exporter.AbstractDataFrameWriter
-
- com.macrofocus.molap.exporter.ExcelDataFrameWriter
-
- All Implemented Interfaces:
DataFrameWriter
public class ExcelDataFrameWriter extends AbstractDataFrameWriter
-
-
Constructor Summary
Constructors Constructor Description ExcelDataFrameWriter(java.io.OutputStream out)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
org.apache.poi.ss.usermodel.CellStyle
getDateCellStyle()
boolean
includeType()
void
nextColumn(boolean hasMore)
void
nextRow()
void
writeCell(java.lang.Object value, DataFrame dataFrame, java.lang.Object rowKey, java.lang.Object columnKey)
void
writeColumnName(java.lang.String value, boolean hasMore)
void
writeType(java.lang.Class cl, boolean hasMore)
-
Methods inherited from class com.macrofocus.molap.exporter.AbstractDataFrameWriter
dateToString, dateToString, numberToString, setTimeZone, start
-
-
-
-
Method Detail
-
writeColumnName
public void writeColumnName(java.lang.String value, boolean hasMore) throws java.io.IOException
- Throws:
java.io.IOException
-
includeType
public boolean includeType()
-
writeType
public void writeType(java.lang.Class cl, boolean hasMore) throws java.io.IOException
- Throws:
java.io.IOException
-
writeCell
public void writeCell(java.lang.Object value, DataFrame dataFrame, java.lang.Object rowKey, java.lang.Object columnKey) throws java.io.IOException
- Throws:
java.io.IOException
-
nextColumn
public void nextColumn(boolean hasMore) throws java.io.IOException
- Throws:
java.io.IOException
-
nextRow
public void nextRow() throws java.io.IOException
- Throws:
java.io.IOException
-
close
public void close() throws java.io.IOException
- Throws:
java.io.IOException
-
getDateCellStyle
public org.apache.poi.ss.usermodel.CellStyle getDateCellStyle()
-
-