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, isEmptydescribeContents, finalize, getNativeContext, readFromParcel, writeToParcel@NonNull public java.lang.String getParsedString()
@NonNull public java.lang.String toString()
Parser.ResulttoString in class Parser.Result@Nullable protected byte[] serializeToByteArray()
serializeToByteArray in class Entity.Resultprotected void deserializeFromByteArray(@NonNull
byte[] arr)
deserializeFromByteArray in class Entity.Result@NonNull public RegexParser.Result clone()
Entity.Resultclone in class Parser.Resultprotected void terminateNative(long nativeContext)
terminateNative in class Entity.Result