Package com.facilita.fc.jni
Class RegExpMatch
- java.lang.Object
-
- com.facilita.fc.jni.RegExpMatch
-
public class RegExpMatch extends java.lang.Object
Represents the position and text of a match found in a regular expression search.
-
-
Constructor Summary
Constructors Constructor Description RegExpMatch(long cPtr, boolean cMemoryOwn)
For internal use only.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete()
static long
getCPtr(RegExpMatch obj)
For internal use only.java.lang.String
getMatch()
Gets the text that matched the regular expression.int
getPosition()
Gets the offset of the matching text within theResponse
-
-
-
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
-
-