Package nl.rrd.wool.parser
Class WoolBodyTokenizer
- java.lang.Object
-
- nl.rrd.wool.parser.WoolBodyTokenizer
-
public class WoolBodyTokenizer extends Object
-
-
Constructor Summary
Constructors Constructor Description WoolBodyTokenizer()
-
-
-
Method Detail
-
readBodyTokens
public List<WoolBodyToken> readBodyTokens(String line, int lineNum) throws LineNumberParseException
Reads the body tokens from the specified line. The line should end with a newline (\n) character.- Parameters:
line- the line with \nlineNum- the line number (first line is 1)- Returns:
- the body tokens
- Throws:
LineNumberParseException- if a parsing error occurs
-
-