@Beta public class SheetDataWriterWithDecorator extends SheetDataWriter
Constructor and Description |
---|
SheetDataWriterWithDecorator() |
Modifier and Type | Method and 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.
|
close, createTempFile, createWriter, finalize, getLastFlushedRow, getLowestIndexOfFlushedRows, getNumberOfCellsOfLastFlushedRow, getNumberOfFlushedRows, getTempFile, getWorksheetXMLInputStream, outputQuotedString, writeCell, writeRow
public SheetDataWriterWithDecorator() throws java.io.IOException
java.io.IOException
protected java.io.OutputStream decorateOutputStream(java.io.FileOutputStream fos)
SheetDataWriter
decorateOutputStream
in class SheetDataWriter
fos
- the stream to decorateSheetDataWriter.decorateInputStream(FileInputStream)
protected java.io.InputStream decorateInputStream(java.io.FileInputStream fis)
SheetDataWriter
decorateInputStream
in class SheetDataWriter
fis
- the stream to decorateSheetDataWriter.decorateOutputStream(FileOutputStream)
Copyright 2020 The Apache Software Foundation or its licensors, as applicable.