Package | Description |
---|---|
com.ibm.icu.text |
Extensions and enhancements to java.text to support unicode transforms, UnicodeSet, surrogate char utilities, UCA collation, normalization, break iteration (rule and dictionary based), enhanced number format, international string searching, and arabic shaping.
|
Modifier and Type | Method and Description |
---|---|
SpoofChecker.Builder |
SpoofChecker.Builder.setAllowedChars(UnicodeSet chars)
Limit the acceptable characters to those specified by a Unicode Set.
|
SpoofChecker.Builder |
SpoofChecker.Builder.setAllowedJavaLocales(Set<Locale> locales)
Limit characters that are acceptable in identifiers being checked to those normally used with the languages
associated with the specified locales.
|
SpoofChecker.Builder |
SpoofChecker.Builder.setAllowedLocales(Set<ULocale> locales)
Limit characters that are acceptable in identifiers being checked to those normally used with the languages
associated with the specified locales.
|
SpoofChecker.Builder |
SpoofChecker.Builder.setChecks(int checks)
Specify the bitmask of checks that will be performed by
SpoofChecker.failsChecks(java.lang.String, com.ibm.icu.text.SpoofChecker.CheckResult) . |
SpoofChecker.Builder |
SpoofChecker.Builder.setData(Reader confusables)
Specify the source form of the spoof data Spoof Checker.
|
SpoofChecker.Builder |
SpoofChecker.Builder.setData(Reader confusables,
Reader confusablesWholeScript)
Deprecated.
ICU 58
|
SpoofChecker.Builder |
SpoofChecker.Builder.setRestrictionLevel(SpoofChecker.RestrictionLevel restrictionLevel)
Set the loosest restriction level allowed for strings.
|
Copyright © 2016 Unicode, Inc. and others.