Uses of Class
com.google.common.net.InternetDomainName
Packages that use InternetDomainName
Package
Description
Utility methods and classes for networking (such as IP addresses and domain names).
-
Uses of InternetDomainName in com.google.common.net
Methods in com.google.common.net that return InternetDomainNameModifier and TypeMethodDescriptionCreates 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.@Nullable InternetDomainNameInternetDomainName.publicSuffix()Returns the public suffix portion of the domain name, ornullif no public suffix is present.@Nullable InternetDomainNameInternetDomainName.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.