public class TLDLookup extends Object
| Constructor and Description |
|---|
TLDLookup() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isThreePartTLD(String domain)
Determines if a three-part domain string (xxx.xxx.xxx) is contained in
the cache of known three-part TLDs.
|
static boolean |
isTwoPartTLD(String domain)
Determines if a two-part domain string (xxx.xxx) is contained in the
cache of known two-part TLDs.
|
public static boolean isTwoPartTLD(String domain)
domain - a String representing a two-part domainpublic static boolean isThreePartTLD(String domain)
domain - a String representing a three-part domainCopyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.