com.maverick.sshd.shell
Class ConsoleStreamReader
java.lang.Object
java.io.Reader
com.maverick.sshd.shell.ConsoleStreamReader
- All Implemented Interfaces:
- Closeable, Readable
public class ConsoleStreamReader
- extends Reader
|
Method Summary |
void |
close()
|
int |
read(char[] cbuf,
int off,
int len)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConsoleStreamReader
public ConsoleStreamReader(Console console)
read
public int read(char[] cbuf,
int off,
int len)
throws IOException
- Specified by:
read in class Reader
- Throws:
IOException
close
public void close()
throws IOException
- Specified by:
close in interface Closeable- Specified by:
close in class Reader
- Throws:
IOException
Copyright © 2012. All Rights Reserved.