Class SplitResult


  • public class SplitResult
    extends Object
    Data object returned by StringSplitter containing a sub sequence along with match status for the sub sequence.
    • Method Detail

      • getText

        public String getText()
        Gets the text in this result.
        Returns:
        returns the text in this result
      • isMatch

        public boolean isMatch()
        Returns true if this sub sequence matched the regular expression used when creating this SplitResult.
        Returns:
        returns true if this sub sequence matched the regular expression, false otherwise