@Beta public class StreamingSheetWriter extends SheetDataWriter
_out| Constructor and Description |
|---|
StreamingSheetWriter() |
StreamingSheetWriter(java.io.OutputStream out) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
flush and close the temp data writer.
|
java.io.File |
createTempFile()
Create a temp file to write sheet data.
|
java.io.Writer |
createWriter(java.io.File fd)
Create a writer for the sheet data.
|
protected static java.io.Writer |
createWriter(java.io.OutputStream out)
Create a writer for the sheet data.
|
java.io.InputStream |
getWorksheetXMLInputStream() |
decorateInputStream, decorateOutputStream, getLastFlushedRow, getLowestIndexOfFlushedRows, getNumberOfCellsOfLastFlushedRow, getNumberOfFlushedRows, getTempFile, outputEscapedString, writeCell, writeRowpublic StreamingSheetWriter()
throws java.io.IOException
java.io.IOExceptionpublic StreamingSheetWriter(java.io.OutputStream out)
throws java.io.IOException
java.io.IOExceptionpublic java.io.File createTempFile()
throws java.io.IOException
SheetDataWriter.gzcreateTempFile in class SheetDataWriterjava.io.IOExceptionpublic java.io.Writer createWriter(java.io.File fd)
throws java.io.IOException
SheetDataWritercreateWriter in class SheetDataWriterfd - the file to write tojava.io.IOExceptionprotected static java.io.Writer createWriter(java.io.OutputStream out)
throws java.io.IOException
out - the output stream to write tojava.io.IOExceptionpublic void close()
throws java.io.IOException
SheetDataWriterSheetDataWriter.getWorksheetXMLInputStream()close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class SheetDataWriterjava.io.IOExceptionpublic java.io.InputStream getWorksheetXMLInputStream()
throws java.io.IOException
getWorksheetXMLInputStream in class SheetDataWriterjava.io.IOExceptionCopyright 2022 The Apache Software Foundation or its licensors, as applicable.