com.ibm.icu.text
Class SpoofChecker.CheckResult
java.lang.Object
com.ibm.icu.text.SpoofChecker.CheckResult
- Enclosing class:
- SpoofChecker
public static class SpoofChecker.CheckResult
- extends Object
A struct-like class to hold the results of a Spoof Check operation.
Tells which check(s) have failed
and the position within the string where the failure was found.
- Status:
- Stable ICU 4.6.
|
Field Summary |
int |
checks
Indicate which of the spoof check(s) has failed. |
int |
position
The index of the first string position that failed a check. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
checks
public int checks
- Indicate which of the spoof check(s) has failed. The value is a bitwise OR
of the constants for the tests in question, SINGLE_SCRIPT_CONFUSABLE,
MIXED_SCRIPT_CONFUSABLE, WHOLE_SCRIPT_CONFUSABLE, and so on.
- Status:
- Stable ICU 4.6.
position
public int position
- The index of the first string position that failed a check.
- Status:
- Stable ICU 4.6.
SpoofChecker.CheckResult
public SpoofChecker.CheckResult()
- Default constructor
- Status:
- Stable ICU 4.6.
Copyright (c) 2012 IBM Corporation and others.