Uses of Class
com.google.common.net.InternetDomainName
Packages that use InternetDomainName
Package
Description
This package contains utility methods and classes for working with net addresses (numeric IP and
domain names).
-
Uses of InternetDomainName in com.google.common.net
Methods in com.google.common.net that return InternetDomainNameModifier and TypeMethodDescriptionprivate InternetDomainNameInternetDomainName.ancestor(int levels) Returns the ancestor of the current domain at the given number of levels "higher" (rightward) in the subdomain list.Creates and returns a newInternetDomainNameby prepending the argument and a dot to the current name.static InternetDomainNameReturns an instance ofInternetDomainNameafter lenient validation.InternetDomainName.parent()Returns anInternetDomainNamethat 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, ornullif no public suffix is present.InternetDomainName.registrySuffix()Returns the registry suffix portion of the domain name, ornullif 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.