mirror of
https://github.com/google/nomulus.git
synced 2025-07-24 19:48:32 +02:00
Move getTldFromDomainName into DomainNameUtils
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=118475557
This commit is contained in:
parent
4442f4c31b
commit
b3125ae070
9 changed files with 34 additions and 58 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue