Top Fields Constructors Methods
org.apache.sshd.common.util.io.input

public Class NoCloseReader

extends FilterReader
Class Inheritance
Imports
java.io.FilterReader, .IOException, .Reader

Author
Apache MINA SSHD Project

Field Summary

Inherited from java.io.FilterReader:
in

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
close()

Overrides java.io.FilterReader.close.

Implements java.io.Closeable.close.

Closes the stream and releases any system resources associated with it.

public static Reader
resolveReader(Reader r, boolean okToClose)

Inherited from java.io.FilterReader:
markmarkSupportedreadreadreadyresetskip

Constructor Detail

NoCloseReaderback to summary
public NoCloseReader(Reader in)

Method Detail

closeback to summary
public void close() throws IOException

Overrides java.io.FilterReader.close.

Implements java.io.Closeable.close.

Doc from java.io.Reader.close.

Closes the stream and releases any system resources associated with it. Once the stream has been closed, further read(), ready(), mark(), reset(), or skip() invocations will throw an IOException. Closing a previously closed stream has no effect.

Annotations
@Override
Exceptions
IOException:
If an I/O error occurs
resolveReaderback to summary
public static Reader resolveReader(Reader r, boolean okToClose)