public class CConfigScanner
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
int |
CONTEXT
This constant member represents the ['context'] tokens.
|
int |
DELIMITER
This constant member represent the delimiter.
|
int |
EOF
This constant member represents the end-of-file.
|
protected static int |
m_debugLevel |
int |
STRING
This constant member represents regular strings.
|
Constructor and Description |
---|
CConfigScanner(java.lang.String filename,
ILogger iLogger)
This constructor initializes the input stream.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
This function is called to close the scanner's input stream.
|
protected void |
debug(java.lang.String fName,
java.lang.String msg) |
protected void |
error(java.lang.String fName,
java.lang.String msg) |
static int |
getDebugLevel() |
java.lang.String |
getTokenValue() |
int |
nextToken()
This function retrieves the next token and updates m_tokenValue.
|
boolean |
pushBack() |
static void |
setDebugLevel(int debugLevel) |
public final int EOF
public final int CONTEXT
public final int STRING
public final int DELIMITER
protected static int m_debugLevel
public CConfigScanner(java.lang.String filename, ILogger iLogger) throws java.lang.Exception
java.lang.Exception
public static int getDebugLevel()
public java.lang.String getTokenValue()
public static void setDebugLevel(int debugLevel)
public int nextToken() throws java.lang.Exception
java.lang.Exception
public boolean pushBack()
public void close()
protected void error(java.lang.String fName, java.lang.String msg)
protected void debug(java.lang.String fName, java.lang.String msg)