- java.lang.Object
-
- com.ibm.dtfj.javacore.parser.framework.scanner.JavaCoreScanner
-
-
Constructor Summary
Constructors Constructor Description JavaCoreScanner(IInputBuffer inputBuffer, J9TagManager tagManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetMaximumLineLength()IParserTokennext()Each call to next returns a new token,voidsetMaximumLineLength(int maxLength)-
Methods declared in class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods declared in interface com.ibm.dtfj.javacore.parser.framework.scanner.IScanner
allTokensGenerated
-
-
-
-
Constructor Detail
-
JavaCoreScanner
public JavaCoreScanner(IInputBuffer inputBuffer, J9TagManager tagManager)
- Parameters:
inputBuffer-- Throws:
NullPointerException- if inputbuffer is null.
-
-
Method Detail
-
next
public IParserToken next() throws IOException, ScannerException
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
-
setMaximumLineLength
public void setMaximumLineLength(int maxLength)
- Parameters:
maxLength-
-
getMaximumLineLength
public int getMaximumLineLength()
- Returns:
-
-