Package org.apache.sshd.common.util.io
Class NoCloseReader
- java.lang.Object
-
- java.io.Reader
-
- java.io.FilterReader
-
- org.apache.sshd.common.util.io.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 void
close()
static Reader
resolveReader(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:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classFilterReader
- Throws:
IOException
-
-