org.mule.tools.npm
Class DownloadCountingOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by java.io.FilterOutputStream
          extended by org.apache.commons.io.output.ProxyOutputStream
              extended by org.apache.commons.io.output.CountingOutputStream
                  extended by org.mule.tools.npm.DownloadCountingOutputStream
All Implemented Interfaces:
Closeable, Flushable

public class DownloadCountingOutputStream
extends org.apache.commons.io.output.CountingOutputStream


Field Summary
 
Fields inherited from class java.io.FilterOutputStream
out
 
Constructor Summary
DownloadCountingOutputStream(OutputStream out)
           
 
Method Summary
protected  void afterWrite(int n)
           
 void setListener(ActionListener listener)
           
 
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.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DownloadCountingOutputStream

public DownloadCountingOutputStream(OutputStream out)
Method Detail

setListener

public void setListener(ActionListener listener)

afterWrite

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


Copyright © 2012. All Rights Reserved.