Package org.apache.poi.xssf.streaming
Class GZIPSheetDataWriter
- java.lang.Object
-
- org.apache.poi.xssf.streaming.SheetDataWriter
-
- org.apache.poi.xssf.streaming.GZIPSheetDataWriter
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
public class GZIPSheetDataWriter extends SheetDataWriter
Sheet writer that supports gzip compression of the temp files.
-
-
Constructor Summary
Constructors Constructor Description GZIPSheetDataWriter()
GZIPSheetDataWriter(SharedStringsTable sharedStringsTable)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.io.File
createTempFile()
Deprecated.no need for this be public, will be made private or protected in an upcoming release-
Methods inherited from class org.apache.poi.xssf.streaming.SheetDataWriter
close, createWriter, getLastFlushedRow, getLowestIndexOfFlushedRows, getNumberOfCellsOfLastFlushedRow, getNumberOfFlushedRows, getWorksheetXMLInputStream, writeCell, writeRow
-
-
-
-
Constructor Detail
-
GZIPSheetDataWriter
public GZIPSheetDataWriter() throws java.io.IOException
- Throws:
java.io.IOException
-
GZIPSheetDataWriter
public GZIPSheetDataWriter(SharedStringsTable sharedStringsTable) throws java.io.IOException
- Parameters:
sharedStringsTable
- the shared strings table, or null if inline text is used- Throws:
java.io.IOException
-
-
Method Detail
-
createTempFile
@Deprecated @Removal(version="6.0.0") public java.io.File createTempFile() throws java.io.IOException
Deprecated.no need for this be public, will be made private or protected in an upcoming releaseDescription copied from class:SheetDataWriter
Create a temp file to write sheet data. By default, temp files are created in the default temporary-file directory with a prefix "poi-sxssf-sheet" and suffix ".xml". Subclasses can override it and specify a different temp directory or filename or suffix, e.g..gz
- Overrides:
createTempFile
in classSheetDataWriter
- Returns:
- temp file to write sheet data
- Throws:
java.io.IOException
-
-