public class TopLevelDomain extends DomainSuffix
www.website.com
, the top-level domain is com
.Modifier and Type | Class and Description |
---|---|
static class |
TopLevelDomain.Type |
DomainSuffix.Status
DEFAULT_BOOST, DEFAULT_STATUS
Constructor and Description |
---|
TopLevelDomain(String domain,
DomainSuffix.Status status,
float boost,
String countryName) |
TopLevelDomain(String domain,
TopLevelDomain.Type type,
DomainSuffix.Status status,
float boost) |
Modifier and Type | Method and Description |
---|---|
String |
getCountryName()
Returns the country name if TLD is Country Code TLD
|
TopLevelDomain.Type |
getType() |
getBoost, getDomain, getStatus, toString
public TopLevelDomain(String domain, TopLevelDomain.Type type, DomainSuffix.Status status, float boost)
public TopLevelDomain(String domain, DomainSuffix.Status status, float boost, String countryName)
public TopLevelDomain.Type getType()
public String getCountryName()
Copyright © 2014 The Apache Software Foundation