| java.lang.Object org.apache.velocity.runtime.parser.VelocityCharStream
VelocityCharStream | final public class VelocityCharStream implements CharStream(Code) | | An implementation of interface CharStream, where the stream is assumed to
contain only ASCII characters (without unicode processing).
|
Constructor Summary | |
public | VelocityCharStream(java.io.Reader dstream, int startline, int startcolumn, int buffersize) | public | VelocityCharStream(java.io.Reader dstream, int startline, int startcolumn) | public | VelocityCharStream(java.io.InputStream dstream, int startline, int startcolumn, int buffersize) | public | VelocityCharStream(java.io.InputStream dstream, int startline, int startcolumn) |
Method Summary | |
final public char | BeginToken() | public void | Done() | final public String | GetImage() | final public char[] | GetSuffix(int len) | public void | ReInit(java.io.Reader dstream, int startline, int startcolumn, int buffersize) | public void | ReInit(java.io.Reader dstream, int startline, int startcolumn) | public void | ReInit(java.io.InputStream dstream, int startline, int startcolumn, int buffersize) | public void | ReInit(java.io.InputStream dstream, int startline, int startcolumn) | public void | adjustBeginLineColumn(int newLine, int newCol) | final public void | backup(int amount) | final public int | getBeginColumn() | final public int | getBeginLine() | final public int | getColumn() | final public int | getEndColumn() | final public int | getEndLine() | final public int | getLine() | final public char | readChar() |
staticFlag | final public static boolean staticFlag(Code) | | |
tokenBegin | int tokenBegin(Code) | | |
VelocityCharStream | public VelocityCharStream(java.io.Reader dstream, int startline, int startcolumn, int buffersize)(Code) | | Parameters: dstream - Parameters: startline - Parameters: startcolumn - Parameters: buffersize - |
VelocityCharStream | public VelocityCharStream(java.io.Reader dstream, int startline, int startcolumn)(Code) | | Parameters: dstream - Parameters: startline - Parameters: startcolumn - |
VelocityCharStream | public VelocityCharStream(java.io.InputStream dstream, int startline, int startcolumn, int buffersize)(Code) | | Parameters: dstream - Parameters: startline - Parameters: startcolumn - Parameters: buffersize - |
VelocityCharStream | public VelocityCharStream(java.io.InputStream dstream, int startline, int startcolumn)(Code) | | Parameters: dstream - Parameters: startline - Parameters: startcolumn - |
ReInit | public void ReInit(java.io.Reader dstream, int startline, int startcolumn, int buffersize)(Code) | | Parameters: dstream - Parameters: startline - Parameters: startcolumn - Parameters: buffersize - |
ReInit | public void ReInit(java.io.Reader dstream, int startline, int startcolumn)(Code) | | Parameters: dstream - Parameters: startline - Parameters: startcolumn - |
ReInit | public void ReInit(java.io.InputStream dstream, int startline, int startcolumn, int buffersize)(Code) | | Parameters: dstream - Parameters: startline - Parameters: startcolumn - Parameters: buffersize - |
ReInit | public void ReInit(java.io.InputStream dstream, int startline, int startcolumn)(Code) | | Parameters: dstream - Parameters: startline - Parameters: startcolumn - |
adjustBeginLineColumn | public void adjustBeginLineColumn(int newLine, int newCol)(Code) | | Method to adjust line and column numbers for the start of a token.
Parameters: newLine - Parameters: newCol - |
|
|