@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, writeRowpublic StreamingSheetWriter()
throws IOException
IOExceptionpublic StreamingSheetWriter(OutputStream out) throws IOException
IOExceptionpublic File createTempFile() throws IOException
SheetDataWriter.gzcreateTempFile in class SheetDataWriterIOExceptionpublic Writer createWriter(File fd) throws IOException
SheetDataWritercreateWriter in class SheetDataWriterfd - the file to write toIOExceptionprotected static Writer createWriter(OutputStream out) throws IOException
out - the output stream to write toIOExceptionpublic void close()
throws IOException
SheetDataWriterSheetDataWriter.getWorksheetXMLInputStream()close in interface Closeableclose in interface AutoCloseableclose in class SheetDataWriterIOExceptionpublic InputStream getWorksheetXMLInputStream() throws IOException
getWorksheetXMLInputStream in class SheetDataWriterIOException