public class GZIPSheetDataWriter extends SheetDataWriter
_out
Constructor and Description |
---|
GZIPSheetDataWriter() |
GZIPSheetDataWriter(SharedStringsTable sharedStringsTable) |
Modifier and Type | Method and Description |
---|---|
File |
createTempFile()
Create a temp file to write sheet data.
|
protected InputStream |
decorateInputStream(FileInputStream fis)
Override this to translate (such as decrypt or expand) the file input stream
as it is being read from disk.
|
protected OutputStream |
decorateOutputStream(FileOutputStream fos)
Override this to translate (such as encrypt or compress) the file output stream
as it is being written to disk.
|
close, createWriter, getLastFlushedRow, getLowestIndexOfFlushedRows, getNumberOfCellsOfLastFlushedRow, getNumberOfFlushedRows, getTempFile, getWorksheetXMLInputStream, outputEscapedString, writeCell, writeRow
public GZIPSheetDataWriter() throws IOException
IOException
public GZIPSheetDataWriter(SharedStringsTable sharedStringsTable) throws IOException
sharedStringsTable
- the shared strings table, or null if inline text is usedIOException
public File createTempFile() throws IOException
SheetDataWriter
.gz
createTempFile
in class SheetDataWriter
IOException
protected InputStream decorateInputStream(FileInputStream fis) throws IOException
SheetDataWriter
decorateInputStream
in class SheetDataWriter
fis
- the stream to decorateIOException
- if decorating the stream failsSheetDataWriter.decorateOutputStream(FileOutputStream)
protected OutputStream decorateOutputStream(FileOutputStream fos) throws IOException
SheetDataWriter
decorateOutputStream
in class SheetDataWriter
fos
- the stream to decorateIOException
- if decorating the stream failsSheetDataWriter.decorateInputStream(FileInputStream)