Class Nameprep

java.lang.Object
com.ongres.nameprep.Nameprep
All Implemented Interfaces:
Profile

@ProfileName("Nameprep") public final class Nameprep extends Object implements Profile
Nameprep: A Stringprep Profile for Internationalized Domain Names (IDN).

This document specifies processing rules that will allow users to enter internationalized domain names (IDNs) into applications and have the highest chance of getting the content of the strings correct. It is a profile of stringprep. These processing rules are only intended for internationalized domain names, not for arbitrary text.

  • Field Details

    • nameprepProfile

      private final Set<Option> nameprepProfile
  • Constructor Details

    • Nameprep

      public Nameprep()
      Construct an instance of the Nameprep profile.
  • Method Details

    • profile

      public Set<Option> profile()
      Description copied from interface: Profile
      Set of options used by the profile.
      Specified by:
      profile in interface Profile
      Returns:
      profile options.