org.crsh.term
Class BaseTerm
java.lang.Object
org.crsh.util.InputDecoder
org.crsh.term.BaseTerm
- All Implemented Interfaces:
- java.util.Iterator<Input>, Term
public class BaseTerm
- extends InputDecoder
- implements Term
- Version:
- $Revision$
- Author:
- Julien Viet
| Methods inherited from class org.crsh.util.InputDecoder |
appendData, appendData, appendDel, getSize, hasNext, isEchoing, moveLeft, moveRight, next, remove, set, setEchoing, size |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseTerm
public BaseTerm(TermIO io)
BaseTerm
public BaseTerm(TermIO io,
TermProcessor processor)
run
public void run()
read
public TermAction read()
throws java.io.IOException
- Specified by:
read in interface Term
- Throws:
java.io.IOException
close
public void close()
_read
public TermAction _read()
throws java.io.IOException
- Throws:
java.io.IOException
write
public void write(java.lang.String msg)
throws java.io.IOException
- Specified by:
write in interface Term
- Throws:
java.io.IOException
doEchoCRLF
protected void doEchoCRLF()
throws java.io.IOException
- Specified by:
doEchoCRLF in class InputDecoder
- Throws:
java.io.IOException
doEchoDel
protected void doEchoDel()
throws java.io.IOException
- Specified by:
doEchoDel in class InputDecoder
- Throws:
java.io.IOException
doEcho
protected void doEcho(java.lang.String s)
throws java.io.IOException
- Specified by:
doEcho in class InputDecoder
- Throws:
java.io.IOException
doMoveRight
protected boolean doMoveRight()
throws java.io.IOException
- Specified by:
doMoveRight in class InputDecoder
- Throws:
java.io.IOException
doMoveLeft
protected boolean doMoveLeft()
throws java.io.IOException
- Specified by:
doMoveLeft in class InputDecoder
- Throws:
java.io.IOException
Copyright © 2010 eXo Platform SAS. All Rights Reserved.