| Modifier and Type | Field and Description |
|---|---|
static int |
BLOCK |
static int |
END |
static int |
ERROR_EOL |
static int |
FLOAT |
static int |
INT |
static int |
LONG |
static int |
NEWLINE |
static int |
NONE |
static int |
PARTIAL_END |
static int |
WORD |
| Constructor and Description |
|---|
LexicalAnalyser(InputStream r) |
| Modifier and Type | Method and Description |
|---|---|
protected ProtocolException |
getException(String errorMsg) |
BigDecimal |
getFloat() |
int |
getIntValue() |
int |
getLookahead() |
long |
getValue() |
String |
getWord() |
int |
nextToken() |
char |
read() |
String |
readBlock() |
public static final int NEWLINE
public static final int END
public static final int WORD
public static final int BLOCK
public static final int INT
public static final int FLOAT
public static final int LONG
public static final int NONE
public static final int PARTIAL_END
public static final int ERROR_EOL
public LexicalAnalyser(InputStream r)
public int getLookahead()
throws IOException
IOExceptionpublic String getWord()
public int getIntValue()
public long getValue()
public BigDecimal getFloat()
public String readBlock() throws IOException
IOExceptionpublic char read()
throws IOException
IOExceptionpublic int nextToken()
throws IOException
IOExceptionprotected ProtocolException getException(String errorMsg)
Copyright © 2012 Uppsala University and Aalborg University. All Rights Reserved.