-
public class DomainSuffixThis class represents the last part of the host name, which is operated by authoritives, not individuals. This information is needed to find the domain name of a host. The domain name of a host is defined to be the last part before the domain suffix, w/o subdomain names. As an example the domain name of
http://lucene.apache.org/isapache.orgThis class holds three fields, domain field represents the suffix (such as "co.uk") boost is a float for boosting score of url's with this suffix status field represents domain's status
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumDomainSuffix.StatusEnumeration of the status of the tld. Please see domain-suffixes.xml.
-
Field Summary
Fields Modifier and Type Field Description public final static floatDEFAULT_BOOSTpublic final static DomainSuffix.StatusDEFAULT_STATUSprivate Stringdomainprivate DomainSuffix.Statusstatusprivate floatboost
-
Constructor Summary
Constructors Constructor Description DomainSuffix(String domain, DomainSuffix.Status status, float boost)DomainSuffix(String domain)
-
Method Summary
-
-
Constructor Detail
-
DomainSuffix
DomainSuffix(String domain, DomainSuffix.Status status, float boost)
-
DomainSuffix
DomainSuffix(String domain)
-
-
-
-