com.google.common.net.InternetDomainName .
Specifies the type of a top-level domain definition.
| Modifier and Type | Field and Description |
|---|---|
| private final char | innerNodeCode
The character used for an inner node in the trie encoding |
| private final char | leafNodeCode
The character used for a leaf node in the trie encoding |
| public static final PublicSuffixType | PRIVATE
Public suffix that is provided by a private company, e.g. "blogspot.com" |
| public static final PublicSuffixType | REGISTRY
Public suffix that is backed by an ICANN-style domain name registry |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static PublicSuffixType | |
| pack-priv char | |
| pack-priv char | |
| public static PublicSuffixType | |
| public static PublicSuffixType[] |
| innerNodeCode | back to summary |
|---|---|
| private final char innerNodeCode The character used for an inner node in the trie encoding | |
| leafNodeCode | back to summary |
|---|---|
| private final char leafNodeCode The character used for a leaf node in the trie encoding | |
| PRIVATE | back to summary |
|---|---|
| public static final PublicSuffixType PRIVATE Public suffix that is provided by a private company, e.g. "blogspot.com" | |
| REGISTRY | back to summary |
|---|---|
| public static final PublicSuffixType REGISTRY Public suffix that is backed by an ICANN-style domain name registry | |
| PublicSuffixType | back to summary |
|---|---|
| private PublicSuffixType(char innerNodeCode, char leafNodeCode) | |
| fromCode | back to summary |
|---|---|
| pack-priv static PublicSuffixType fromCode(char code) Returns a PublicSuffixType of the right type according to the given code | |
| getInnerNodeCode | back to summary |
|---|---|
| pack-priv char getInnerNodeCode() | |
| getLeafNodeCode | back to summary |
|---|---|
| pack-priv char getLeafNodeCode() | |
| valueOf | back to summary |
|---|---|
| public static PublicSuffixType valueOf(String name) | |
| values | back to summary |
|---|---|
| public static PublicSuffixType[] values() | |