Documentation of 'edu.jas.kern.StringUtil' Java class
StringUtil
edu.jas.kern

Class StringUtil



  • public class StringUtil
    extends java.lang.Object
    Static String and Reader methods.
    • Constructor Summary

      Constructors 
      Constructor and Description
      StringUtil() 
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static java.lang.String nextPairedString(java.io.Reader r, char b, char c)
      Parse paired String with given delimiters from Reader.
      static java.lang.String nextString(java.io.Reader r)
      Parse white space delimited String from Reader.
      static java.lang.String nextString(java.io.Reader r, char c)
      Parse String with given delimiter from Reader.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • StringUtil

        public StringUtil()
    • Method Detail

      • nextString

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

        public static java.lang.String nextString(java.io.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 java.lang.String nextPairedString(java.io.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.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.