Package 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.
-
-
Field Summary
Fields Modifier and Type Field Description intchecksIndicate which of the spoof check(s) has failed.UnicodeSetnumericsDeprecated.This API is ICU internal only.intpositionDeprecated.ICU 51.SpoofChecker.RestrictionLevelrestrictionLevelDeprecated.This API is ICU internal only.
-
Constructor Summary
Constructors Constructor Description CheckResult()Default constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringtoString()Returns a string containing a concise, human-readable description of this object.
-
-
-
Field Detail
-
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.
-
position
@Deprecated public int position
Deprecated.ICU 51. No longer supported. Always set to zero.The index of the first string position that failed a check.
-
numerics
@Deprecated public UnicodeSet numerics
Deprecated.This API is ICU internal only.The numerics found in the string, if MIXED_NUMBERS was set; otherwise null;
-
restrictionLevel
@Deprecated public SpoofChecker.RestrictionLevel restrictionLevel
Deprecated.This API is ICU internal only.The restriction level that the text meets, if RESTRICTION_LEVEL is set; otherwise null.
-
-
Method Detail
-
toString
public String toString()
Returns a string containing a concise, human-readable description of this object. Subclasses are encouraged to override this method and provide an implementation that takes into account the object's type and data. The default implementation is equivalent to the following expression:getClass().getName() + '@' + Integer.toHexString(hashCode())
See Writing a useful
toStringmethod if you intend implementing your owntoStringmethod.
-
-