Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

Field Summary

Fields inherited from class java.io.BufferedOutputStream
`buf, count`

Fields inherited from class java.io.FilterOutputStream
`out`

Constructor Summary
`MonitorOutputStream(OutputStream out)`

Method Summary
`void` | `close()` Closes this output stream.
`protected void` | `onClose()` Called after this stream is closed.

Methods inherited from class java.io.BufferedOutputStream
`flush, write, write`

Methods inherited from class java.io.FilterOutputStream
`write`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### MonitorOutputStream

    public MonitorOutputStream(OutputStream out)

Method Detail

### 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`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2002-2006 The Apache Software Foundation. All Rights Reserved.