Save This Page
Home » j2ssh-0.2.9-src » com.sshtools.daemon.terminal » [javadoc | source]
com.sshtools.daemon.terminal
public class: TerminalIO [javadoc | source]
java.lang.Object
   com.sshtools.daemon.terminal.TerminalIO

All Implemented Interfaces:
    PseudoTerminal

Field Summary
public static final  int EOL_CRLF     
public static final  int EOL_CR     
public static final  int[] HOME     
public static final  int IOERROR     
public static final  int UP     
public static final  int DOWN     
public static final  int RIGHT     
public static final  int LEFT     
public static final  int STORECURSOR     
public static final  int RESTORECURSOR     
public static final  int EEOL     
public static final  int EBOL     
public static final  int EEL     
public static final  int EEOS     
public static final  int EBOS     
public static final  int EES     
public static final  int ESCAPE     
public static final  int BYTEMISSING     
public static final  int UNRECOGNIZED     
public static final  int ENTER     
public static final  int TABULATOR     
public static final  int DELETE     
public static final  int BACKSPACE     
public static final  int COLORINIT     
public static final  int HANDLED     
public static final  int LOGOUTREQUEST     
public static final  int LineUpdate     
public static final  int CharacterUpdate     
public static final  int ScreenpartUpdate     
public static final  int EditBuffer     
public static final  int LineEditBuffer     
public static final  int BEL     
public static final  int BS     
public static final  int DEL     
public static final  int CR     
public static final  int LF     
public static final  int FCOLOR     
public static final  int BCOLOR     
public static final  int STYLE     
public static final  int RESET     
public static final  int BOLD     
public static final  int BOLD_OFF     
public static final  int ITALIC     
public static final  int ITALIC_OFF     
public static final  int BLINK     
public static final  int BLINK_OFF     
public static final  int UNDERLINED     
public static final  int UNDERLINED_OFF     
public static final  int BLACK     
public static final  int RED     
public static final  int GREEN     
public static final  int YELLOW     
public static final  int BLUE     
public static final  int MAGENTA     
public static final  int CYAN     
public static final  int white     
public static final  String CRLF     
Constructor:
 public TerminalIO(InputStream in,
    OutputStream out,
    String term,
    int cols,
    int rows) throws IOException 
Method from com.sshtools.daemon.terminal.TerminalIO Summary:
attachStreams,   bell,   bindSlaveInputStream,   bindSlaveOutputStream,   close,   closeInput,   closeOutput,   defineScrollRegion,   detachStreams,   eraseLine,   eraseScreen,   eraseToBeginOfLine,   eraseToBeginOfScreen,   eraseToEndOfLine,   eraseToEndOfScreen,   flush,   getAttachedInputStream,   getAttachedOutputStream,   getColumns,   getEOL,   getEOLString,   getEncodedTerminalModes,   getHeight,   getMasterInputStream,   getRows,   getSlaveOutputStream,   getTerm,   getTerminal,   getWidth,   homeCursor,   isAutoflushing,   isSignalling,   moveCursor,   moveDown,   moveLeft,   moveRight,   moveUp,   println,   println,   read,   resetAttributes,   restoreCursor,   setAutoflushing,   setBackgroundColor,   setBlink,   setBold,   setCursor,   setDefaultTerminal,   setEOL,   setForegroundColor,   setItalic,   setSignalling,   setTerminal,   setUnderlined,   storeCursor,   write,   write,   write,   write,   write,   write
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from com.sshtools.daemon.terminal.TerminalIO Detail:
 public  void attachStreams(InputStream in,
    OutputStream out) 
 public  void bell() throws IOException 
 public  void bindSlaveInputStream(InputStream slaveIn) 
 public  void bindSlaveOutputStream(OutputStream slaveOut) 
 public  void close() throws IOException 
 public  void closeInput() throws IOException 
 public  void closeOutput() throws IOException 
 public boolean defineScrollRegion(int topmargin,
    int bottommargin) throws IOException 
 public  void detachStreams() 
 public  void eraseLine() throws IOException 
 public  void eraseScreen() throws IOException 
 public  void eraseToBeginOfLine() throws IOException 
 public  void eraseToBeginOfScreen() throws IOException 
 public  void eraseToEndOfLine() throws IOException 
 public  void eraseToEndOfScreen() throws IOException 
 public  void flush() throws IOException 
 public InputStream getAttachedInputStream() throws IOException 
 public OutputStream getAttachedOutputStream() throws IOException 
 public int getColumns() 
 public int getEOL() 
 public String getEOLString() 
 public String getEncodedTerminalModes() 
 public int getHeight() 
 public InputStream getMasterInputStream() 
 public int getRows() 
 public OutputStream getSlaveOutputStream() 
 public String getTerm() 
 public Terminal getTerminal() 
 public int getWidth() 
 public  void homeCursor() throws IOException 
 public boolean isAutoflushing() 
 public boolean isSignalling() 
 public  void moveCursor(int direction,
    int times) throws IOException 
 public  void moveDown(int times) throws IOException 
 public  void moveLeft(int times) throws IOException 
 public  void moveRight(int times) throws IOException 
 public  void moveUp(int times) throws IOException 
 public  void println() throws IOException 
 public  void println(String str) throws IOException 
 public int read() throws IOException 
 public  void resetAttributes() throws IOException 
 public  void restoreCursor() throws IOException 
 public  void setAutoflushing(boolean b) 
 public  void setBackgroundColor(int color) throws IOException 
 public  void setBlink(boolean b) throws IOException 
 public  void setBold(boolean b) throws IOException 
 public  void setCursor(int row,
    int col) throws IOException 
 public  void setDefaultTerminal() throws IOException 
 public  void setEOL(int eol) 
 public  void setForegroundColor(int color) throws IOException 
 public  void setItalic(boolean b) throws IOException 
 public  void setSignalling(boolean bool) 
 public  void setTerminal(String terminalName) throws IOException 
 public  void setUnderlined(boolean b) throws IOException 
 public  void storeCursor() throws IOException 
 public  void write(char ch) throws IOException 
 public  void write(String str) throws IOException 
 public  void write(byte b) throws IOException 
 public  void write(int i) throws IOException 
 public  void write(byte[] sequence) throws IOException 
 public  void write(int[] sequence) throws IOException