Uses of Class
com.google.common.net.InternetDomainName
-
Packages that use InternetDomainName Package Description com.google.common.net 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 InternetDomainName Modifier and Type Method Description InternetDomainName
InternetDomainName. child(java.lang.String leftParts)
Creates and returns a newInternetDomainName
by prepending the argument and a dot to the current name.static InternetDomainName
InternetDomainName. from(java.lang.String domain)
Returns an instance ofInternetDomainName
after lenient validation.InternetDomainName
InternetDomainName. parent()
Returns anInternetDomainName
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, ornull
if no public suffix is present.InternetDomainName
InternetDomainName. topPrivateDomain()
Returns the portion of this domain name that is one level beneath the public suffix.
-