org.maverickdbms.basic
Class InputChannel

java.lang.Object
  extended byorg.maverickdbms.basic.InputChannel

public class InputChannel
extends java.lang.Object

Class provides input routines needed by the compiler


Method Summary
 void CLEARDATA()
           
 void DATA(ConstantString mvs)
           
 mvString getEscapeSequence(mvString result, ConstantString num)
           
 boolean getLocalEcho()
           
 java.io.Reader getReader()
           
 mvString IN(mvString result, boolean ordinal, mvString status)
          Returns a single character from the input buffer
 ConstantString INPUT(mvString result, ConstantString length, boolean processLine, boolean newline, mvString status)
           
 mvString positionScreenAt(mvString result, ConstantString col, ConstantString row)
           
 void setLocalEcho(boolean localEcho)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

positionScreenAt

public mvString positionScreenAt(mvString result,
                                 ConstantString col,
                                 ConstantString row)
                          throws mvException
Throws:
mvException

getEscapeSequence

public mvString getEscapeSequence(mvString result,
                                  ConstantString num)
                           throws mvException
Throws:
mvException

CLEARDATA

public void CLEARDATA()
               throws mvException
Throws:
mvException

DATA

public void DATA(ConstantString mvs)
          throws mvException
Throws:
mvException

getReader

public java.io.Reader getReader()

IN

public mvString IN(mvString result,
                   boolean ordinal,
                   mvString status)
            throws mvException
Returns a single character from the input buffer

Parameters:
result - the character
ordinal - whether to return ordinal value rather than char itself
Throws:
mvException

INPUT

public ConstantString INPUT(mvString result,
                            ConstantString length,
                            boolean processLine,
                            boolean newline,
                            mvString status)
                     throws mvException
Parameters:
result - input read from user
length - max length to input, 0 for unlimited, < for checking typeahead buffer.
processLine - whether to process until end of line
newline - output newline
Returns:
input read from user
Throws:
mvException

getLocalEcho

public boolean getLocalEcho()
                     throws mvException
Throws:
mvException

setLocalEcho

public void setLocalEcho(boolean localEcho)