Class ReopenableFileOutputStream

java.lang.Object
java.io.OutputStream
hudson.util.io.ReopenableFileOutputStream
All Implemented Interfaces:
Closeable, Flushable, AutoCloseable
Direct Known Subclasses:
ReopenableRotatingFileOutputStream

@Deprecated public class ReopenableFileOutputStream extends OutputStream
Deprecated.
due to risk for file leak. Prefer RewindableFileOutputStream
OutputStream that writes to a file.

Unlike regular FileOutputStream, this implementation allows the caller to close, and then keep writing.

Author:
Kohsuke Kawaguchi