Package org.apache.poi.poifs.crypt.temp
Class SheetDataWriterWithDecorator
- java.lang.Object
-
- org.apache.poi.xssf.streaming.SheetDataWriter
-
- org.apache.poi.poifs.crypt.temp.SheetDataWriterWithDecorator
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
@Beta public class SheetDataWriterWithDecorator extends SheetDataWriter
-
-
Constructor Summary
Constructors Constructor Description SheetDataWriterWithDecorator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.-
Methods inherited from class org.apache.poi.xssf.streaming.SheetDataWriter
close, createTempFile, createWriter, finalize, getLastFlushedRow, getLowestIndexOfFlushedRows, getNumberOfCellsOfLastFlushedRow, getNumberOfFlushedRows, getTempFile, getWorksheetXMLInputStream, outputQuotedString, writeCell, writeRow
-
-
-
-
Method Detail
-
decorateOutputStream
protected java.io.OutputStream decorateOutputStream(java.io.FileOutputStream fos)
Description copied from class:SheetDataWriter
Override this to translate (such as encrypt or compress) the file output stream as it is being written to disk. The default behavior is to to pass the stream through unmodified.- Overrides:
decorateOutputStream
in classSheetDataWriter
- Parameters:
fos
- the stream to decorate- Returns:
- a decorated stream
- See Also:
SheetDataWriter.decorateInputStream(FileInputStream)
-
decorateInputStream
protected java.io.InputStream decorateInputStream(java.io.FileInputStream fis)
Description copied from class:SheetDataWriter
Override this to translate (such as decrypt or expand) the file input stream as it is being read from disk. The default behavior is to to pass the stream through unmodified.- Overrides:
decorateInputStream
in classSheetDataWriter
- Parameters:
fis
- the stream to decorate- Returns:
- a decorated stream
- See Also:
SheetDataWriter.decorateOutputStream(FileOutputStream)
-
-