Class mheg5.DPM.ASCII_CharStream
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class mheg5.DPM.ASCII_CharStream

java.lang.Object
   |
   +----mheg5.DPM.ASCII_CharStream

public final class ASCII_CharStream
extends Object
An implementation of interface CharStream, where the stream is assumed to contain only ASCII characters (without unicode processing).

Variable Index

 o bufpos
 o staticFlag

Constructor Index

 o ASCII_CharStream(InputStream, int, int)
 o ASCII_CharStream(InputStream, int, int, int)

Method Index

 o adjustBeginLineColumn(int, int)
Method to adjust line and column numbers for the start of a token.
 o backup(int)
 o BeginToken()
 o Done()
 o getBeginColumn()
 o getBeginLine()
 o getColumn()
 o getEndColumn()
 o getEndLine()
 o GetImage()
 o getLine()
 o GetSuffix(int)
 o readChar()
 o ReInit(InputStream, int, int)
 o ReInit(InputStream, int, int, int)

Variables

 o staticFlag
  public final static boolean staticFlag
 o bufpos
  public static int bufpos

Constructors

 o ASCII_CharStream
  public ASCII_CharStream(InputStream dstream,
                          int startline,
                          int startcolumn,
                          int buffersize)
 o ASCII_CharStream
  public ASCII_CharStream(InputStream dstream,
                          int startline,
                          int startcolumn)

Methods

 o BeginToken
  public final static char BeginToken() throws IOException
 o readChar
  public final static char readChar() throws IOException
 o getColumn
  public final static int getColumn()
See Also:
getEndColumn
 o getLine
  public final static int getLine()
See Also:
getEndLine
 o getEndColumn
  public final static int getEndColumn()
 o getEndLine
  public final static int getEndLine()
 o getBeginColumn
  public final static int getBeginColumn()
 o getBeginLine
  public final static int getBeginLine()
 o backup
  public final static void backup(int amount)
 o ReInit
  public static void ReInit(InputStream dstream,
                            int startline,
                            int startcolumn,
                            int buffersize)
 o ReInit
  public static void ReInit(InputStream dstream,
                            int startline,
                            int startcolumn)
 o GetImage
  public final static String GetImage()
 o GetSuffix
  public final static byte[] GetSuffix(int len)
 o Done
  public static void Done()
 o adjustBeginLineColumn
  public static void adjustBeginLineColumn(int newLine,
                                           int newCol)
Method to adjust line and column numbers for the start of a token.

All Packages  Class Hierarchy  This Package  Previous  Next  Index