com.ibm.icu.text
Class SpoofChecker.CheckResult

java.lang.Object
  extended by 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:
Draft 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.
 
Constructor Summary
SpoofChecker.CheckResult()
          Default constructor
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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.

Status:
Draft ICU 4.6.

position

public int position
The index of the first string position that failed a check.

Status:
Draft ICU 4.6.
Constructor Detail

SpoofChecker.CheckResult

public SpoofChecker.CheckResult()
Default constructor

Status:
Draft ICU 4.6.


Copyright (c) 2011 IBM Corporation and others.