Uses of Class
com.google.common.net.InternetDomainName
Package
Description
Utility methods and classes for networking (such as IP addresses and domain names).
-
Uses of InternetDomainName in com.google.common.net
Modifier and TypeMethodDescriptionCreates and returns a newInternetDomainName
by prepending the argument and a dot to the current name.static InternetDomainName
Returns an instance ofInternetDomainName
after lenient validation.InternetDomainName.parent()
Returns anInternetDomainName
that is the immediate ancestor of this one; that is, the current domain with the leftmost part removed.InternetDomainName.publicSuffix()
Returns the public suffix portion of the domain name, ornull
if no public suffix is present.InternetDomainName.registrySuffix()
Returns the registry suffix portion of the domain name, ornull
if no registry suffix is present.InternetDomainName.topDomainUnderRegistrySuffix()
Returns the portion of this domain name that is one level beneath the registry suffix.InternetDomainName.topPrivateDomain()
Returns the portion of this domain name that is one level beneath the public suffix.