org.jfree.report.util
public class NoCloseOutputStream extends java.io.FilterOutputStream
Constructor and Description |
---|
NoCloseOutputStream(java.io.OutputStream out)
Create a new NoCloseOutputStream with the given output stream a parent.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes this output stream and releases any system resources associated with the
stream, but does not close the underlying output stream.
|
public NoCloseOutputStream(java.io.OutputStream out)
out
- the parent streampublic 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