-
public class TopLevelDomain extends DomainSuffix
(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 iscom.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumTopLevelDomain.Type
-
Field Summary
Fields Modifier and Type Field Description private TopLevelDomain.Typetypeprivate StringcountryName
-
Constructor Summary
Constructors Constructor Description TopLevelDomain(String domain, TopLevelDomain.Type type, DomainSuffix.Status status, float boost)TopLevelDomain(String domain, DomainSuffix.Status status, float boost, String countryName)
-
Method Summary
Modifier and Type Method Description TopLevelDomain.TypegetType()StringgetCountryName()Returns the country name if TLD is Country Code TLD -
-
Constructor Detail
-
TopLevelDomain
TopLevelDomain(String domain, TopLevelDomain.Type type, DomainSuffix.Status status, float boost)
-
TopLevelDomain
TopLevelDomain(String domain, DomainSuffix.Status status, float boost, String countryName)
-
-
Method Detail
-
getType
TopLevelDomain.Type getType()
-
getCountryName
String getCountryName()
Returns the country name if TLD is Country Code TLD
-
-
-
-