Class WoolBodyTokenizer


  • public class WoolBodyTokenizer
    extends Object
    • Constructor Detail

      • WoolBodyTokenizer

        public 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 \n
        lineNum - the line number (first line is 1)
        Returns:
        the body tokens
        Throws:
        LineNumberParseException - if a parsing error occurs