writer2latex.util
Class SimpleInputBuffer
java.lang.Object
writer2latex.util.SimpleInputBuffer
public class SimpleInputBuffer
- extends java.lang.Object
This class provides a simple string input buffer; it can be used as the
basis of a tokenizer.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
sContent
private java.lang.String sContent
nIndex
private int nIndex
nLen
private int nLen
SimpleInputBuffer
public SimpleInputBuffer(java.lang.String sContent)
isDigitOrDot
private static boolean isDigitOrDot(char cChar)
isDigitOrDotOrComma
private static boolean isDigitOrDotOrComma(char cChar)
getIndex
public int getIndex()
atEnd
public boolean atEnd()
peekChar
public char peekChar()
peekFollowingChar
public char peekFollowingChar()
getChar
public char getChar()
getIdentifier
public java.lang.String getIdentifier()
getNumber
public java.lang.String getNumber()
getInteger
public java.lang.String getInteger()
skipSpaces
public void skipSpaces()