TopLevelDomain
class TopLevelDomain (View source)
Class for validating and working with Top Level Domains
Constants
| private DATA_FILE |
|
Methods
static void
init()
No description
static bool
isValidTopLevelDomain($hostname)
No description
static void
resetCache()
Reset the cache (useful for testing)
Details
static void
init()
No description
static bool
isValidTopLevelDomain($hostname)
No description
static void
resetCache()
Reset the cache (useful for testing)