Class NameUtil


  • public final class NameUtil
    extends java.lang.Object
    Utilities related to internationalized domain names and dns name handling.
    • Constructor Summary

      Constructors 
      Constructor Description
      NameUtil()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean idnEquals​(java.lang.String name1, java.lang.String name2)
      Check if two internationalized domain names are equal, possibly causing a serialization of both domain names.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • idnEquals

        public static boolean idnEquals​(java.lang.String name1,
                                        java.lang.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.