|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.nutch.util.domain.DomainSuffix
org.apache.nutch.util.domain.TopLevelDomain
public 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. For example, in the domain name
www.website.com, the top-level domain is com.
http://www.iana.org/,
http://en.wikipedia.org/wiki/Top-level_domain| Nested Class Summary | |
|---|---|
static class |
TopLevelDomain.Type
|
| Nested classes/interfaces inherited from class org.apache.nutch.util.domain.DomainSuffix |
|---|
DomainSuffix.Status |
| Field Summary |
|---|
| Fields inherited from class org.apache.nutch.util.domain.DomainSuffix |
|---|
DEFAULT_BOOST, DEFAULT_STATUS |
| Constructor Summary | |
|---|---|
TopLevelDomain(String domain,
DomainSuffix.Status status,
float boost,
String countryName)
|
|
TopLevelDomain(String domain,
TopLevelDomain.Type type,
DomainSuffix.Status status,
float boost)
|
|
| Method Summary | |
|---|---|
String |
getCountryName()
Returns the country name if TLD is Country Code TLD |
TopLevelDomain.Type |
getType()
|
| Methods inherited from class org.apache.nutch.util.domain.DomainSuffix |
|---|
getBoost, getDomain, getStatus, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TopLevelDomain(String domain,
TopLevelDomain.Type type,
DomainSuffix.Status status,
float boost)
public TopLevelDomain(String domain,
DomainSuffix.Status status,
float boost,
String countryName)
| Method Detail |
|---|
public TopLevelDomain.Type getType()
public String getCountryName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||