Class ParserUtils


  • public class ParserUtils
    extends Object
    Common helpers for namespace file parsers.
    Author:
    K. Benedyczak
    • Constructor Detail

      • ParserUtils

        public ParserUtils()
    • Method Detail

      • checkToken

        public static int checkToken​(String token,
                                     char[] chars,
                                     int offset,
                                     boolean caseSensitive)
                              throws IOException
        Throws:
        IOException
      • checkTokenSoft

        public static int checkTokenSoft​(String token,
                                         char[] chars,
                                         int offset,
                                         boolean caseSensitive)
      • checkEndOfLine

        public static void checkEndOfLine​(char[] chars,
                                          int j)
                                   throws IOException
        Throws:
        IOException