Package | Description |
---|---|
org.apache.nutch.util | |
org.apache.nutch.util.domain |
org.apache.nutch.util.domain
|
Modifier and Type | Method and Description |
---|---|
static DomainSuffix |
URLUtil.getDomainSuffix(String url)
Returns the
DomainSuffix corresponding to the
last public part of the hostname |
static DomainSuffix |
URLUtil.getDomainSuffix(URL url)
Returns the
DomainSuffix corresponding to the
last public part of the hostname |
Modifier and Type | Class and Description |
---|---|
class |
TopLevelDomain
(From wikipedia) A top-level domain (TLD) is the last part of an
Internet domain name; that is, the letters which follow the final
dot of any domain name.
|
Modifier and Type | Method and Description |
---|---|
DomainSuffix |
DomainSuffixes.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 |
Copyright © 2014 The Apache Software Foundation