Class NameUtil


  • public final class NameUtil
    extends Object
    Utilities related to internationalized domain names and dns name handling.
    • Method Detail

      • idnEquals

        public static boolean idnEquals​(String name1,
                                        String name2)
        Check if two internationalized domain names are equal, possibly causing a serialization of both domain names.
        Parameters:
        name1 - The first domain name.
        name2 - The second domain name.
        Returns:
        True if both domain names are the same.