@Deprecated public class CloseShieldWriter extends FilterWriter
This class is typically used in cases where a writer needs to be passed to a component that wants to explicitly close the writer even if other components would still use the writer for output.
out| Constructor and Description |
|---|
CloseShieldWriter(Writer out)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Deprecated.
|
flush, write, write, writepublic CloseShieldWriter(Writer out)
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class FilterWriterIOExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.