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