Class RegExpMatch

    • Constructor Summary

      Constructors 
      Constructor Description
      RegExpMatch​(long cPtr, boolean cMemoryOwn)
      For internal use only.
    • Constructor Detail

      • RegExpMatch

        public RegExpMatch​(long cPtr,
                           boolean cMemoryOwn)
        For internal use only. Of no interest to the user.
        Parameters:
        cPtr - pointer to the CPP wrapped object
        cMemoryOwn - indicates if this object is responsible for memory management of the CPP object
    • Method Detail

      • getCPtr

        public static long getCPtr​(RegExpMatch obj)
        For internal use only. Of no interest to the user.
        Parameters:
        obj - a reference to an object of this class
        Returns:
        a long containing the address of the CPP wrapped object
      • delete

        public void delete()
      • getMatch

        public java.lang.String getMatch()
        Gets the text that matched the regular expression.
        Returns:
        the text that matched the regular expression
      • getPosition

        public int getPosition()
        Gets the offset of the matching text within the Response
        Returns:
        the offset of the matching text within the Response