Move getTldFromDomainName into DomainNameUtils

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=118475557
This commit is contained in:
jart 2016-03-29 10:16:47 -07:00 committed by Justine Tunney
parent 4442f4c31b
commit b3125ae070
9 changed files with 34 additions and 58 deletions

View file

@ -91,8 +91,8 @@ public final class Registries {
*
* <p><b>Note:</b> This routine will only work on names under TLDs for which this registry is
* authoritative. To extract TLDs from domains (not hosts) that other registries control, use
* {@link com.google.domain.registry.model.domain.DomainUtils#getTldFromDomainName(String)
* DomainUtils#getTldFromDomainName}.
* {@link com.google.domain.registry.util.DomainNameUtils#getTldFromDomainName(String)
* DomainNameUtils#getTldFromDomainName}.
*
* @param domainName domain name or host name (but not TLD) under an authoritative TLD
* @return TLD or absent if {@code domainName} has no labels under an authoritative TLD