Class Nameprep

  • All Implemented Interfaces:
    Profile

    @ProfileName("Nameprep")
    public final class Nameprep
    extends java.lang.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 Detail

      • nameprepProfile

        private final java.util.Set<Option> nameprepProfile
    • Constructor Detail

      • Nameprep

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

      • profile

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