org.apache.commons.vfs.util
Class MonitorOutputStream
java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
java.io.BufferedOutputStream
org.apache.commons.vfs.util.MonitorOutputStream
- public class MonitorOutputStream
- extends BufferedOutputStream
An OutputStream that provides buffering and end-of-stream monitoring.
- Version:
- $Revision: 170205 $ $Date: 2005-05-15 10:21:59 +0200 (Sun, 15 May 2005) $
- Author:
- Adam Murdoch
Method Summary |
void |
close()
Closes this output stream. |
protected void |
onClose()
Called after this stream is closed. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MonitorOutputStream
public MonitorOutputStream(OutputStream out)
close
public void close()
throws IOException
- Closes this output stream.
- Throws:
IOException
onClose
protected void onClose()
throws IOException
- Called after this stream is closed. This implementation does nothing.
- Throws:
IOException
Copyright © 2002-2005 The Apache Software Foundation. All Rights Reserved.