@Beta public class StreamingSheetWriter extends SheetDataWriter
_out| Constructor and Description |
|---|
StreamingSheetWriter()
Deprecated.
|
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@Removal(version="6.0.0") public StreamingSheetWriter() throws IOException
StreamingSheetWriter(OutputStream)IOException - always thrown, use the constructor with an OutputStreampublic StreamingSheetWriter(OutputStream out) throws IOException
IOExceptionpublic File createTempFile() throws IOException
SheetDataWriter.gzcreateTempFile in class SheetDataWriterIllegalStateException - always thrown - not supportedIOExceptionpublic Writer createWriter(File fd) throws IOException
SheetDataWritercreateWriter in class SheetDataWriterfd - the file to write toIllegalStateException - always thrown - not supportedIOExceptionprotected 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 SheetDataWriterIllegalStateException - always thrown - not supportedIOException