org.crsh.term.sshd
Class SSHIO
java.lang.Object
org.crsh.term.sshd.SSHIO
- All Implemented Interfaces:
- TermIO
public class SSHIO
- extends java.lang.Object
- implements TermIO
- Version:
- $Revision$
- Author:
- Julien Viet
|
Constructor Summary |
SSHIO(java.io.Reader reader,
java.io.Writer writer,
int verase)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SSHIO
public SSHIO(java.io.Reader reader,
java.io.Writer writer,
int verase)
read
public int read()
throws java.io.IOException
- Specified by:
read in interface TermIO
- Throws:
java.io.IOException
getType
public CodeType getType(int code)
- Specified by:
getType in interface TermIO
close
public void close()
- Specified by:
close in interface TermIO
flush
public void flush()
throws java.io.IOException
- Specified by:
flush in interface TermIO
- Throws:
java.io.IOException
write
public void write(java.lang.String s)
throws java.io.IOException
- Specified by:
write in interface TermIO
- Throws:
java.io.IOException
writeDel
public void writeDel()
throws java.io.IOException
- Specified by:
writeDel in interface TermIO
- Throws:
java.io.IOException
writeCRLF
public void writeCRLF()
throws java.io.IOException
- Specified by:
writeCRLF in interface TermIO
- Throws:
java.io.IOException
moveRight
public boolean moveRight()
throws java.io.IOException
- Specified by:
moveRight in interface TermIO
- Throws:
java.io.IOException
moveLeft
public boolean moveLeft()
throws java.io.IOException
- Specified by:
moveLeft in interface TermIO
- Throws:
java.io.IOException
Copyright © 2010 eXo Platform SAS. All Rights Reserved.