Package | Description |
---|---|
org.apache.nutch.util |
Miscellaneous utility classes.
|
org.apache.nutch.util.domain |
Classes for domain name analysis.
|
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 © 2015 The Apache Software Foundation