- 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 int
getMaximumLineLength()
IParserToken
next()
Each call to next returns a new token,void
setMaximumLineLength(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: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
-
setMaximumLineLength
public void setMaximumLineLength(int maxLength)
- Parameters:
maxLength
-
-
getMaximumLineLength
public int getMaximumLineLength()
- Returns:
-
-