Class WoolParser


  • public class WoolParser
    extends Object
    • Method Detail

      • readDialogue

        public ReadResult readDialogue()
                                throws IOException
        Tries to read the dialogue file. If a reading error occurs, it throws an IOException. Otherwise it returns a result object where either the dialogue is set, or one or more parse errors are set.
        Returns:
        the read result
        Throws:
        IOException - if a reading error occurs
      • skipWhitespace

        public static int skipWhitespace​(String s,
                                         int start)
        Reads whitespace characters from the specified index and returns the number of characters read.
        Parameters:
        s - the string
        start - the start index
        Returns:
        the number of whitespace characters
      • main

        public static void main​(String[] args)