|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.io.OutputStream
java.io.FilterOutputStream
org.jfree.report.util.NoCloseOutputStream
A Wrapper stream that does never calls close on its parent. This implementation is needed when creating ZipOutputStream, as the final ZipDirectory is written when close is called on the ZipOutputSteam.
| Field Summary |
| Fields inherited from class java.io.FilterOutputStream |
out |
| Constructor Summary | |
NoCloseOutputStream(java.io.OutputStream out)
Create a new NoCloseOutputStream with the given output stream a parent. |
|
| Method Summary | |
void |
close()
Closes this output stream and releases any system resources associated with the stream, but does not close the underlying output stream. |
| Methods inherited from class java.io.FilterOutputStream |
flush, write, write, write |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public NoCloseOutputStream(java.io.OutputStream out)
out - the parent stream| Method Detail |
public void close()
throws java.io.IOException
The close method of FilterOutputStream
calls its flush method.
java.io.IOException - if an I/O error occurs.FilterOutputStream.flush(),
FilterOutputStream.out
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||