Package com.ibm.icu.text
Class SpoofChecker.CheckResult
java.lang.Object
com.ibm.icu.text.SpoofChecker.CheckResult
- Enclosing class:
SpoofChecker
A struct-like class to hold the results of a Spoof Check operation. Tells which check(s) have failed.
-
Field Summary
FieldsModifier and TypeFieldDescriptionint
Indicates which of the spoof check(s) have failed.The numerics found in the string, if MIXED_NUMBERS was set; otherwise null.int
Deprecated.ICU 51.The restriction level that the text meets, if RESTRICTION_LEVEL is set; otherwise null. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
checks
public int checksIndicates which of the spoof check(s) have failed. The value is a bitwise OR of the constants for the tests in question: RESTRICTION_LEVEL, CHAR_LIMIT, and so on.- See Also:
-
position
Deprecated.ICU 51. No longer supported. Always set to zero.The index of the first string position that failed a check. -
numerics
The numerics found in the string, if MIXED_NUMBERS was set; otherwise null. The set will contain the zero digit from each decimal number system found in the input string. -
restrictionLevel
The restriction level that the text meets, if RESTRICTION_LEVEL is set; otherwise null.
-
-
Constructor Details
-
CheckResult
public CheckResult()Default constructor
-
-
Method Details