public class GZIPSheetDataWriter extends SheetDataWriter
Constructor and Description |
---|
GZIPSheetDataWriter() |
GZIPSheetDataWriter(SharedStringsTable sharedStringsTable) |
Modifier and Type | Method and Description |
---|---|
java.io.File |
createTempFile()
Create a temp file to write sheet data.
|
protected java.io.InputStream |
decorateInputStream(java.io.FileInputStream fis)
Override this to translate (such as decrypt or expand) the file input stream
as it is being read from disk.
|
protected java.io.OutputStream |
decorateOutputStream(java.io.FileOutputStream fos)
Override this to translate (such as encrypt or compress) the file output stream
as it is being written to disk.
|
close, createWriter, finalize, getLastFlushedRow, getLowestIndexOfFlushedRows, getNumberOfCellsOfLastFlushedRow, getNumberOfFlushedRows, getTempFile, getWorksheetXMLInputStream, outputQuotedString, writeCell, writeRow
public GZIPSheetDataWriter() throws java.io.IOException
java.io.IOException
public GZIPSheetDataWriter(SharedStringsTable sharedStringsTable) throws java.io.IOException
sharedStringsTable
- the shared strings table, or null if inline text is usedjava.io.IOException
public java.io.File createTempFile() throws java.io.IOException
SheetDataWriter
.gz
createTempFile
in class SheetDataWriter
java.io.IOException
protected java.io.InputStream decorateInputStream(java.io.FileInputStream fis) throws java.io.IOException
SheetDataWriter
decorateInputStream
in class SheetDataWriter
fis
- the stream to decoratejava.io.IOException
SheetDataWriter.decorateOutputStream(FileOutputStream)
protected java.io.OutputStream decorateOutputStream(java.io.FileOutputStream fos) throws java.io.IOException
SheetDataWriter
decorateOutputStream
in class SheetDataWriter
fos
- the stream to decoratejava.io.IOException
SheetDataWriter.decorateInputStream(FileInputStream)
Copyright 2018 The Apache Software Foundation or its licensors, as applicable.