protected static class MimeEntity.NoCloseOutputStream extends FilterOutputStream
Instances of this stream are used by entities to attach encoding streams to underlying output stream in order to write out their encoded content and then flush and close these encoding streams without closing the underlying output stream.
out
Constructor and Description |
---|
NoCloseOutputStream(OutputStream os) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
flush, write, write, write
public NoCloseOutputStream(OutputStream os)
public void close()
close
in interface Closeable
close
in interface AutoCloseable
close
in class FilterOutputStream
Apache Camel