@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) public final class IgnoreCloseWriter extends FilterWriter
FilterWriter
that ignores calls to close its underlying writer and instead simply flushes it.out
Constructor and Description |
---|
IgnoreCloseWriter(Writer out) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
flush, write, write, write
public IgnoreCloseWriter(@NonNull Writer out)
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class FilterWriter
IOException
Copyright © 2016–2022. All rights reserved.