StringUtil
edu.jas.kern

Class StringUtil



  • public class StringUtilextends Object
    Static String and Reader methods.
    • Constructor Detail

      • StringUtil

        public StringUtil()
    • Method Detail

      • nextString

        public static String nextString(Reader r)
        Parse white space delimited String from Reader.
        Parameters:
        r - Reader.
        Returns:
        next non white space String from r.
      • nextString

        public static String nextString(Reader r,                char c)
        Parse String with given delimiter from Reader.
        Parameters:
        c - delimiter.
        r - Reader.
        Returns:
        next String up to c from r.
      • nextPairedString

        public static String nextPairedString(Reader r,                      char b,                      char c)
        Parse paired String with given delimiters from Reader.
        Parameters:
        b - opposite delimiter.
        c - delimiter.
        r - Reader.
        Returns:
        next nested matching String up to c from r.

SCaVis 1.8 © jWork.org