Package org.apache.sshd.common.util.io
Class NoCloseWriter
- java.lang.Object
-
- java.io.Writer
-
- java.io.FilterWriter
-
- org.apache.sshd.common.util.io.NoCloseWriter
-
- All Implemented Interfaces:
Closeable
,Flushable
,Appendable
,AutoCloseable
public class NoCloseWriter extends FilterWriter
- Author:
- Apache MINA SSHD Project
-
-
Field Summary
-
Fields inherited from class java.io.FilterWriter
out
-
-
Constructor Summary
Constructors Constructor Description NoCloseWriter(Writer out)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
static Writer
resolveWriter(Writer r, boolean okToClose)
-
Methods inherited from class java.io.FilterWriter
flush, write, write, write
-
-
-
-
Constructor Detail
-
NoCloseWriter
public NoCloseWriter(Writer out)
-
-
Method Detail
-
close
public void close() throws IOException
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classFilterWriter
- Throws:
IOException
-
-