|
|||||||||
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
public class 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 streamMethod Detail |
---|
public void close() throws java.io.IOException
close
method of FilterOutputStream
calls its
flush
method.
close
in interface java.io.Closeable
close
in class java.io.FilterOutputStream
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 |