|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.io.OutputStream
java.io.FilterOutputStream
java.io.BufferedOutputStream
org.apache.commons.vfs.util.MonitorOutputStream
public class MonitorOutputStream
An OutputStream that provides buffering and end-of-stream monitoring.
| Field Summary | |
|---|---|
private boolean |
finished
|
| Fields inherited from class java.io.BufferedOutputStream |
|---|
buf, count |
| Fields inherited from class java.io.FilterOutputStream |
|---|
out |
| Constructor Summary | |
|---|---|
MonitorOutputStream(java.io.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 |
| Field Detail |
|---|
private boolean finished
| Constructor Detail |
|---|
public MonitorOutputStream(java.io.OutputStream out)
| Method Detail |
|---|
public void close()
throws java.io.IOException
close in interface java.io.Closeableclose in class java.io.FilterOutputStreamjava.io.IOException
protected void onClose()
throws java.io.IOException
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||