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 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.@Nullable InternetDomainName
InternetDomainName.publicSuffix()
Returns the public suffix portion of the domain name, ornull
if no public suffix is present.@Nullable InternetDomainName
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.