| Package | Description | 
|---|---|
| com.google.common.net | 
 This package contains utility methods and classes for working with net addresses (numeric IP and
 domain names). 
 | 
| Modifier and Type | Method and Description | 
|---|---|
InternetDomainName | 
InternetDomainName.child(String leftParts)
Creates and returns a new  
InternetDomainName by prepending the argument and a dot to
 the current name. | 
static InternetDomainName | 
InternetDomainName.from(String domain)
Returns an instance of  
InternetDomainName after lenient validation. | 
InternetDomainName | 
InternetDomainName.parent()
Returns an  
InternetDomainName that is the immediate ancestor of this one; that is, the
 current domain with the leftmost part removed. | 
InternetDomainName | 
InternetDomainName.publicSuffix()
Returns the public suffix portion of the domain name, or  
null if no public suffix is present. | 
InternetDomainName | 
InternetDomainName.registrySuffix()
Returns the registry suffix portion of the domain name, or
  
null if no registry suffix is present. | 
InternetDomainName | 
InternetDomainName.topDomainUnderRegistrySuffix()
Returns the portion of this domain name that is one level beneath the registry suffix. 
 | 
InternetDomainName | 
InternetDomainName.topPrivateDomain()
Returns the portion of this domain name that is one level beneath the public suffix. 
 | 
Copyright © 2010–2019. All rights reserved.