Class FileDownload.DownloadCountingOutputStream

  • All Implemented Interfaces:
    java.io.Closeable, java.io.Flushable, java.lang.AutoCloseable
    Enclosing class:
    FileDownload

    class FileDownload.DownloadCountingOutputStream
    extends org.apache.commons.io.output.CountingOutputStream
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.awt.event.ActionListener listener  
      • Fields inherited from class java.io.FilterOutputStream

        out
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void afterWrite​(int p_afterWrite_1_)  
      void setListener​(java.awt.event.ActionListener p_224804_1_)  
      • Methods inherited from class org.apache.commons.io.output.CountingOutputStream

        beforeWrite, getByteCount, getCount, resetByteCount, resetCount
      • Methods inherited from class org.apache.commons.io.output.ProxyOutputStream

        close, flush, handleIOException, write, write, write
      • Methods inherited from class java.io.OutputStream

        nullOutputStream
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • listener

        private java.awt.event.ActionListener listener
    • Constructor Detail

      • DownloadCountingOutputStream

        public DownloadCountingOutputStream​(java.io.OutputStream p_i51649_2_)
    • Method Detail

      • setListener

        public void setListener​(java.awt.event.ActionListener p_224804_1_)
      • afterWrite

        protected void afterWrite​(int p_afterWrite_1_)
                           throws java.io.IOException
        Overrides:
        afterWrite in class org.apache.commons.io.output.ProxyOutputStream
        Throws:
        java.io.IOException