Class JdkMatchResult

    • Constructor Detail

      • JdkMatchResult

        public JdkMatchResult​(Matcher matcher)
      • JdkMatchResult

        public JdkMatchResult​(Matcher matcher)
    • Method Detail

      • groups

        public int groups()
        Description copied from class: MatchResult
        Returns the number of groups (...) found
        Specified by:
        groups in class MatchResult
        Returns:
        Number of found groups
      • group

        public String group​(int i)
        Description copied from class: MatchResult
        Return the content of group with the index i
        Specified by:
        group in class MatchResult
        Parameters:
        i - index for the group
        Returns:
        Content of the group with the index i
      • beginOffset

        public int beginOffset​(int i)
        Description copied from class: MatchResult
        The offset of the beginning of the match for the group with the index i
        Specified by:
        beginOffset in class MatchResult
        Parameters:
        i - index for the group
        Returns:
        Offset of the group
      • endOffset

        public int endOffset​(int i)
        Description copied from class: MatchResult
        The offset of the end of the match for the group with the index i
        Specified by:
        endOffset in class MatchResult
        Parameters:
        i - index for the group
        Returns:
        Offset of the group