@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, finalize, getLastFlushedRow, getLowestIndexOfFlushedRows, getNumberOfCellsOfLastFlushedRow, getNumberOfFlushedRows, getTempFile, outputEscapedString, writeCell, writeRow
public StreamingSheetWriter() throws java.io.IOException
java.io.IOException
public StreamingSheetWriter(java.io.OutputStream out) throws java.io.IOException
java.io.IOException
public java.io.File createTempFile() throws java.io.IOException
SheetDataWriter
.gz
createTempFile
in class SheetDataWriter
java.io.IOException
public java.io.Writer createWriter(java.io.File fd) throws java.io.IOException
SheetDataWriter
createWriter
in class SheetDataWriter
fd
- the file to write tojava.io.IOException
protected static java.io.Writer createWriter(java.io.OutputStream out) throws java.io.IOException
out
- the output stream to write tojava.io.IOException
public void close() throws java.io.IOException
SheetDataWriter
SheetDataWriter.getWorksheetXMLInputStream()
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class SheetDataWriter
java.io.IOException
public java.io.InputStream getWorksheetXMLInputStream() throws java.io.IOException
getWorksheetXMLInputStream
in class SheetDataWriter
java.io.IOException
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.