public class SheetDataWriter extends Object
Constructor and Description |
---|
SheetDataWriter() |
Modifier and Type | Method and Description |
---|---|
void |
close()
flush and close the temp data writer.
|
File |
createTempFile()
Create a temp file to write sheet data.
|
Writer |
createWriter(File fd)
Create a writer for the sheet data.
|
protected void |
finalize() |
int |
getLowestIndexOfFlushedRows() |
int |
getNumberOfCellsOfLastFlushedRow() |
int |
getNumberOfFlushedRows() |
InputStream |
getWorksheetXMLInputStream() |
protected void |
outputQuotedString(String s) |
void |
writeCell(int columnIndex,
Cell cell) |
void |
writeRow(int rownum,
SXSSFRow row)
Write a row to the file
|
public SheetDataWriter() throws IOException
IOException
public File createTempFile() throws IOException
.gz
IOException
public Writer createWriter(File fd) throws IOException
fd
- the file to write toIOException
public void close() throws IOException
getWorksheetXMLInputStream()
IOException
public InputStream getWorksheetXMLInputStream() throws IOException
IOException
public int getNumberOfFlushedRows()
public int getNumberOfCellsOfLastFlushedRow()
public int getLowestIndexOfFlushedRows()
protected void finalize() throws Throwable
public void writeRow(int rownum, SXSSFRow row) throws IOException
rownum
- 0-based row numberrow
- a rowIOException
public void writeCell(int columnIndex, Cell cell) throws IOException
IOException
protected void outputQuotedString(String s) throws IOException
IOException
Copyright © 2020. All rights reserved.