public class NameUtil
extends Object
-
Method Summary
static boolean
Naive fast check to see if domainname string contains only valid characters
static int
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
isValid
public static boolean isValid(String name)
Naive fast check to see if domainname string contains only valid characters
- Parameters:
name -
- Returns:
-
-
labels
public static int labels(String qname)