| Modifier and Type | Method and Description |
|---|---|
static boolean |
isCountryCode(String code)
Whether a code is a country code.
|
static String |
normalize(String name)
Return the canonical domain name.
|
public static String normalize(String name)
name - the domain name, null returns nullpublic static boolean isCountryCode(String code)
code - the case insensitive country code, null returns false true if code is a country codeCopyright © 2014. All Rights Reserved.