Class MimeEntity.NoCloseOutputStream

  • All Implemented Interfaces:
    Closeable, Flushable, AutoCloseable
    Enclosing class:
    MimeEntity

    protected static class MimeEntity.NoCloseOutputStream
    extends FilterOutputStream
    An OuputStream wrapper that doesn't close its underlying output stream.

    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.