@Beta public class SheetDataWriterWithDecorator extends SheetDataWriter
_out
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, outputEscapedString, writeCell, writeRow
public SheetDataWriterWithDecorator() throws java.io.IOException
java.io.IOException
(java.io.IOException)
protected java.io.OutputStream decorateOutputStream(java.io.FileOutputStream fos)
SheetDataWriter
decorateOutputStream
in class
SheetDataWriter
fos
- the stream to decorate
(fos - 要装饰的流)
SheetDataWriter.decorateInputStream(FileInputStream)
protected java.io.InputStream decorateInputStream(java.io.FileInputStream fis)
SheetDataWriter
decorateInputStream
in class
SheetDataWriter
fis
- the stream to decorate
(fis - 要装饰的流)
SheetDataWriter.decorateOutputStream(FileOutputStream)
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.