public class DomainSuffixes extends Object
DomainSuffix objects
Note: this class is singleton| Modifier and Type | Method and Description |
|---|---|
DomainSuffix |
get(String extension)
Return the
DomainSuffix object for the extension, if
extension is a top level domain returned object will be an
instance of TopLevelDomain |
static DomainSuffixes |
getInstance()
Singleton instance, lazy instantination
|
boolean |
isDomainSuffix(String extension)
return whether the extension is a registered domain entry
|
public static DomainSuffixes getInstance()
public boolean isDomainSuffix(String extension)
public DomainSuffix get(String extension)
DomainSuffix object for the extension, if
extension is a top level domain returned object will be an
instance of TopLevelDomainextension - of the domainCopyright © 2014 The Apache Software Foundation