Java com.google.common.net InternetDomainName fields, constructors, methods, implement or subclass

Example usage for Java com.google.common.net InternetDomainName fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.google.common.net InternetDomainName.

The text is from its open source code.

Field

Stringname
The full domain name, converted to lower case.
ImmutableListparts
The parts of the domain name, converted to lower case.

Method

booleanequals(@Nullable Object object)
Equality testing is based on the text supplied by the caller, after normalization as described in the class documentation.
InternetDomainNamefrom(String domain)
Returns an instance of InternetDomainName after lenient validation.
booleanhasParent()
Indicates whether this domain is composed of two or more parts.
booleanhasPublicSuffix()
Indicates whether this domain name ends in a #isPublicSuffix() public suffix , including if it is a public suffix itself.
booleanisPublicSuffix()
Indicates whether this domain name represents a public suffix, as defined by the Mozilla Foundation's Public Suffix List (PSL).
booleanisTopPrivateDomain()
Indicates whether this domain name is composed of exactly one subdomain component followed by a #isPublicSuffix() public suffix .
booleanisUnderPublicSuffix()
Indicates whether this domain name ends in a #isPublicSuffix() public suffix , while not being a public suffix itself.
booleanisValid(String name)
Indicates whether the argument is a syntactically valid domain name using lenient validation.
InternetDomainNameparent()
Returns an InternetDomainName that is the immediate ancestor of this one; that is, the current domain with the leftmost part removed.
InternetDomainNamepublicSuffix()
Returns the #isPublicSuffix() public suffix portion of the domain name, or null if no public suffix is present.
InternetDomainNametopPrivateDomain()
Returns the portion of this domain name that is one level beneath the public suffix.
StringtoString()
Returns the domain name, normalized to all lower case.