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.StatusDEFAULT_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, toStringpublic 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 © 2021 The Apache Software Foundation