com.akiban.sql.parser
Class StringCharStream
java.lang.Object
com.akiban.sql.parser.StringCharStream
public class StringCharStream
- extends Object
CharStream that simply reads from a string.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StringCharStream
public StringCharStream(String string)
ReInit
public void ReInit(String string)
BeginToken
public char BeginToken()
throws IOException
- Throws:
IOException
readChar
public char readChar()
throws IOException
- Throws:
IOException
backup
public void backup(int amount)
getBeginOffset
public int getBeginOffset()
getEndOffset
public int getEndOffset()
getBeginLine
public int getBeginLine()
getBeginColumn
public int getBeginColumn()
getEndLine
public int getEndLine()
getEndColumn
public int getEndColumn()
getLine
public int getLine()
getColumn
public int getColumn()
GetImage
public String GetImage()
GetSuffix
public char[] GetSuffix(int len)
Done
public void Done()
Copyright © 2013 Akiban Technologies, Inc. All rights reserved.