[all packages] [package ] [class hierarchy] [index]

public final class ASCII_CharStream

(source file: ASCII_CharStream.java)
java.lang.Object
   |
   +----ASCII_CharStream

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


Constuctor Index

O ASCII_CharStream(InputStream, int, int, int)
O ASCII_CharStream(InputStream, int, int)
O ASCII_CharStream(Reader, int, int)
O ASCII_CharStream(Reader, int, int, int)

Variables Index

O bufpos
O staticFlag

Methods

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

Constructors

O ASCII_CharStream
public ASCII_CharStream(Reader dstream,
                        int startline,
                        int startcolumn,
                        int buffersize);

O ASCII_CharStream

public ASCII_CharStream(Reader dstream,
                        int startline,
                        int startcolumn);

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);

Variables

O staticFlag
public static final boolean staticFlag;

O bufpos

public int bufpos;

Methods

O BeginToken
public final char BeginToken()
  throws java.io.IOException;

O readChar

public final char readChar()
  throws java.io.IOException;

O getColumn

public final int getColumn();
Note: deprecated!

See also:
getEndColumn

O getLine

public final int getLine();
Note: deprecated!

See also:
getEndLine

O getEndColumn

public final int getEndColumn();

O getEndLine

public final int getEndLine();

O getBeginColumn

public final int getBeginColumn();

O getBeginLine

public final int getBeginLine();

O backup

public final void backup(int amount);

O ReInit

public void ReInit(Reader dstream,
                   int startline,
                   int startcolumn,
                   int buffersize);

O ReInit

public void ReInit(Reader dstream,
                   int startline,
                   int startcolumn);

O ReInit

public void ReInit(InputStream dstream,
                   int startline,
                   int startcolumn,
                   int buffersize);

O ReInit

public void ReInit(InputStream dstream,
                   int startline,
                   int startcolumn);

O GetImage

public final String GetImage();

O GetSuffix

public final char[] GetSuffix(int len);

O Done

public void Done();

O adjustBeginLineColumn

public void adjustBeginLineColumn(int newLine,
                                  int newCol);
Method to adjust line and column numbers for the start of a token.


[all packages] [package ] [class hierarchy] [index]
ASCII_CharStream.html