Class NoCloseReader
- java.lang.Object
-
- java.io.Reader
-
- java.io.FilterReader
-
- org.apache.sshd.common.util.io.input.NoCloseReader
-
- All Implemented Interfaces:
Closeable,AutoCloseable,Readable
public class NoCloseReader extends FilterReader
- Author:
- Apache MINA SSHD Project
-
-
Field Summary
-
Fields inherited from class java.io.FilterReader
in
-
-
Constructor Summary
Constructors Constructor Description NoCloseReader(Reader in)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()static ReaderresolveReader(Reader r, boolean okToClose)-
Methods inherited from class java.io.FilterReader
mark, markSupported, read, read, ready, reset, skip
-
Methods inherited from class java.io.Reader
nullReader, read, read, transferTo
-
-
-
-
Constructor Detail
-
NoCloseReader
public NoCloseReader(Reader in)
-
-
Method Detail
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classFilterReader- Throws:
IOException
-
-