Class NoCloseWriter
- java.lang.Object
-
- java.io.Writer
-
- java.io.FilterWriter
-
- org.apache.sshd.common.util.io.output.NoCloseWriter
-
- All Implemented Interfaces:
java.io.Closeable
,java.io.Flushable
,java.lang.Appendable
,java.lang.AutoCloseable
public class NoCloseWriter extends java.io.FilterWriter
-
-
Constructor Summary
Constructors Constructor Description NoCloseWriter(java.io.Writer out)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
static java.io.Writer
resolveWriter(java.io.Writer r, boolean okToClose)
-
-
-
Method Detail
-
close
public void close() throws java.io.IOException
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.io.Closeable
- Overrides:
close
in classjava.io.FilterWriter
- Throws:
java.io.IOException
-
resolveWriter
public static java.io.Writer resolveWriter(java.io.Writer r, boolean okToClose)
-
-