Class IgnoreCloseWriter
java.lang.Object
java.io.Writer
java.io.FilterWriter
com.cloudbees.jenkins.support.util.IgnoreCloseWriter
- All Implemented Interfaces:
Closeable
,Flushable
,Appendable
,AutoCloseable
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
public final class IgnoreCloseWriter
extends FilterWriter
Provides a
FilterWriter
that ignores calls to close its underlying writer and instead simply flushes it.- Since:
- TODO
-
Field Summary
Fields inherited from class java.io.FilterWriter
out
-
Constructor Summary
-
Method Summary
Methods inherited from class java.io.FilterWriter
flush, write, write, write
-
Constructor Details
-
IgnoreCloseWriter
-
-
Method Details
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classFilterWriter
- Throws:
IOException
-