org.apache.velocity.runtime.parser
public final class VelocityCharStream extends Object implements CharStream
| Field Summary | |
|---|---|
| int | available |
| int[] | bufcolumn |
| char[] | buffer |
| int[] | bufline |
| int | bufpos |
| int | bufsize |
| int | column |
| int | inBuf |
| Reader | inputStream |
| int | line |
| int | maxNextCharInd |
| boolean | prevCharIsCR |
| boolean | prevCharIsLF |
| static boolean | staticFlag |
| int | tokenBegin |
| Constructor Summary | |
|---|---|
| VelocityCharStream(Reader dstream, int startline, int startcolumn, int buffersize) | |
| VelocityCharStream(Reader dstream, int startline, int startcolumn) | |
| VelocityCharStream(InputStream dstream, int startline, int startcolumn, int buffersize) | |
| VelocityCharStream(InputStream dstream, int startline, int startcolumn) | |
| Method Summary | |
|---|---|
| void | adjustBeginLineColumn(int newLine, int newCol)
Method to adjust line and column numbers for the start of a token. |
| void | backup(int amount) |
| char | BeginToken() |
| void | Done() |
| void | ExpandBuff(boolean wrapAround) |
| void | FillBuff() |
| int | getBeginColumn() |
| int | getBeginLine() |
| int | getColumn() |
| int | getEndColumn() |
| int | getEndLine() |
| int | getLine() |
| String | GetImage() |
| char[] | GetSuffix(int len) |
| char | readChar() |
| void | ReInit(Reader dstream, int startline, int startcolumn, int buffersize) |
| void | ReInit(Reader dstream, int startline, int startcolumn) |
| void | ReInit(InputStream dstream, int startline, int startcolumn, int buffersize) |
| void | ReInit(InputStream dstream, int startline, int startcolumn) |
| void | UpdateLineColumn(char c) |
Deprecated:
See Also: VelocityCharStream
Deprecated:
See Also: VelocityCharStream