Class WriteOnCloseOutputStream

  • All Implemented Interfaces:
    Closeable, Flushable, AutoCloseable

    public class WriteOnCloseOutputStream
    extends CachedOutputStream
    This outputstream implementation will cache the message until close() is called, at which point it will write the message to the OutputStream supplied via the constructor.