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:
Closeable
,AutoCloseable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected InputStream
Override this to translate (such as decrypt or expand) the file input stream as it is being read from disk.protected OutputStream
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
-
Constructor Details
-
SheetDataWriterWithDecorator
- Throws:
IOException
-
-
Method Details
-
decorateOutputStream
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:
-
decorateInputStream
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:
-