public static final class RegexParser.Result extends Parser.Result
Parser.Result.State
Modifier and Type | Field and Description |
---|---|
static android.os.Parcelable.Creator |
CREATOR |
mOwner
Modifier | Constructor and Description |
---|---|
protected |
Result(long nativeResult) |
Modifier and Type | Method and Description |
---|---|
RegexParser.Result |
clone()
Create a copy of the result.
|
protected void |
deserializeFromByteArray(byte[] arr) |
java.lang.String |
getParsedString()
Returns string containing parsed OCR result according to given regular expression.
|
protected byte[] |
serializeToByteArray() |
protected void |
terminateNative(long nativeContext) |
java.lang.String |
toString()
Returns extracted result string.
|
getResultState, isEmpty
describeContents, finalize, getNativeContext, readFromParcel, writeToParcel
@NonNull public java.lang.String getParsedString()
@NonNull public java.lang.String toString()
Parser.Result
toString
in class Parser.Result
@Nullable protected byte[] serializeToByteArray()
serializeToByteArray
in class Entity.Result
protected void deserializeFromByteArray(@NonNull byte[] arr)
deserializeFromByteArray
in class Entity.Result
@NonNull public RegexParser.Result clone()
Entity.Result
clone
in class Parser.Result
protected void terminateNative(long nativeContext)
terminateNative
in class Entity.Result