Class SheetDataWriterWithDecorator

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable

    @Beta
    public class SheetDataWriterWithDecorator
    extends SheetDataWriter
    • Constructor Detail

      • SheetDataWriterWithDecorator

        public SheetDataWriterWithDecorator()
                                     throws java.io.IOException
        Throws:
        java.io.IOException
    • 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 class SheetDataWriter
        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 class SheetDataWriter
        Parameters:
        fis - the stream to decorate
        Returns:
        a decorated stream
        See Also:
        SheetDataWriter.decorateOutputStream(FileOutputStream)