java.lang.Object
com.ibm.dtfj.javacore.parser.framework.scanner.JavaCoreScanner
- All Implemented Interfaces:
IScanner
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
next()
Each call to next returns a new token,void
setMaximumLineLength
(int maxLength)
-
Constructor Details
-
JavaCoreScanner
- Parameters:
inputBuffer
-- Throws:
NullPointerException
- if inputbuffer is null.
-
-
Method Details
-
next
Description copied from interface:IScanner
Each call to next returns a new token,- Specified by:
next
in interfaceIScanner
- Returns:
- next token to be scanned, or null all tokens generated
- Throws:
ScannerException
IOException
-
allTokensGenerated
public boolean allTokensGenerated()- Specified by:
allTokensGenerated
in interfaceIScanner
-
setMaximumLineLength
public void setMaximumLineLength(int maxLength) - Parameters:
maxLength
-
-
getMaximumLineLength
public int getMaximumLineLength()- Returns:
-