Package org.minidns.util
Class NameUtil
- java.lang.Object
-
- org.minidns.util.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.
-
-
-
Constructor Detail
-
NameUtil
public NameUtil()
-
-
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.
-
-