@Beta public class StreamingSheetWriter extends SheetDataWriter
_out
Constructor and Description |
---|
StreamingSheetWriter() |
StreamingSheetWriter(OutputStream out) |
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 static Writer |
createWriter(OutputStream out)
Create a writer for the sheet data.
|
InputStream |
getWorksheetXMLInputStream() |
decorateInputStream, decorateOutputStream, getLastFlushedRow, getLowestIndexOfFlushedRows, getNumberOfCellsOfLastFlushedRow, getNumberOfFlushedRows, getTempFile, outputEscapedString, writeCell, writeRow
public StreamingSheetWriter() throws IOException
IOException
public StreamingSheetWriter(OutputStream out) throws IOException
IOException
public File createTempFile() throws IOException
SheetDataWriter
.gz
createTempFile
in class SheetDataWriter
IOException
public Writer createWriter(File fd) throws IOException
SheetDataWriter
createWriter
in class SheetDataWriter
fd
- the file to write toIOException
protected static Writer createWriter(OutputStream out) throws IOException
out
- the output stream to write toIOException
public void close() throws IOException
SheetDataWriter
SheetDataWriter.getWorksheetXMLInputStream()
close
in interface Closeable
close
in interface AutoCloseable
close
in class SheetDataWriter
IOException
public InputStream getWorksheetXMLInputStream() throws IOException
getWorksheetXMLInputStream
in class SheetDataWriter
IOException