Class SpoofChecker.Builder

java.lang.Object
org.graalvm.shadowed.com.ibm.icu.text.SpoofChecker.Builder
Enclosing class:
SpoofChecker

public static class SpoofChecker.Builder extends Object
SpoofChecker Builder. To create a SpoofChecker, first instantiate a SpoofChecker.Builder, set the desired checking options on the builder, then call the build() function to create a SpoofChecker instance.
  • Constructor Details

    • Builder

      public Builder()
      Constructor: Create a default Unicode Spoof Checker Builder, configured to perform all checks except for LOCALE_LIMIT and CHAR_LIMIT. Note that additional checks may be added in the future, resulting in the changes to the default checking behavior.
    • Builder

      public Builder(SpoofChecker src)
      Constructor: Create a Spoof Checker Builder, and set the configuration from an existing SpoofChecker.
      Parameters:
      src - The existing checker.
  • Method Details