org.mule.tools.npm
Class DownloadCountingOutputStream
java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
org.apache.commons.io.output.ProxyOutputStream
org.apache.commons.io.output.CountingOutputStream
org.mule.tools.npm.DownloadCountingOutputStream
- All Implemented Interfaces:
- Closeable, Flushable
public class DownloadCountingOutputStream
- extends org.apache.commons.io.output.CountingOutputStream
| 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 |
DownloadCountingOutputStream
public DownloadCountingOutputStream(OutputStream out)
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.