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
@Beta public class SheetDataWriterWithDecorator extends SheetDataWriter
-
-
Field Summary
-
Fields inherited from class org.apache.poi.xssf.streaming.SheetDataWriter
_out
-
-
Constructor Summary
Constructors Constructor Description SheetDataWriterWithDecorator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected InputStreamdecorateInputStream(FileInputStream fis)Override this to translate (such as decrypt or expand) the file input stream as it is being read from disk.protected OutputStreamdecorateOutputStream(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, getLastFlushedRow, getLowestIndexOfFlushedRows, getNumberOfCellsOfLastFlushedRow, getNumberOfFlushedRows, getTempFile, getWorksheetXMLInputStream, outputEscapedString, writeCell, writeRow
-
-
-
-
Constructor Detail
-
SheetDataWriterWithDecorator
public SheetDataWriterWithDecorator() throws IOException- Throws:
IOException
-
-
Method Detail
-
decorateOutputStream
protected OutputStream decorateOutputStream(FileOutputStream fos)
Description copied from class:SheetDataWriterOverride 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:
decorateOutputStreamin classSheetDataWriter- Parameters:
fos- the stream to decorate- Returns:
- a decorated stream
- See Also:
SheetDataWriter.decorateInputStream(FileInputStream)
-
decorateInputStream
protected InputStream decorateInputStream(FileInputStream fis)
Description copied from class:SheetDataWriterOverride 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:
decorateInputStreamin classSheetDataWriter- Parameters:
fis- the stream to decorate- Returns:
- a decorated stream
- See Also:
SheetDataWriter.decorateOutputStream(FileOutputStream)
-
-