|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.james.smtpserver.urirbl.TLDLookup
public class TLDLookup
A utility class that caches sets of multi-part top level domains (TLDs) for quick lookup.
| Constructor Summary | |
|---|---|
TLDLookup()
|
|
| Method Summary | |
|---|---|
static boolean |
isThreePartTLD(java.lang.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(java.lang.String domain)
Determines if a two-part domain string (xxx.xxx) is contained in the cache of known two-part TLDs. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TLDLookup()
| Method Detail |
|---|
public static boolean isTwoPartTLD(java.lang.String domain)
domain - a String representing a two-part domain
public static boolean isThreePartTLD(java.lang.String domain)
domain - a String representing a three-part domain
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||