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: 480428 $ $Date: 2006-11-29 07:15:24 +0100 (Mi, 29 Nov 2006) $
- 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-2006 The Apache Software Foundation. All Rights Reserved.