Uses of Enum Class
com.google.thirdparty.publicsuffix.PublicSuffixType
Packages that use PublicSuffixType
Package
Description
Utility methods and classes for networking (such as IP addresses and domain names).
-
Uses of PublicSuffixType in com.google.common.net
Method parameters in com.google.common.net with type arguments of type PublicSuffixTypeModifier and TypeMethodDescriptionprivate int
InternetDomainName.findSuffixOfType
(Optional<PublicSuffixType> desiredType) Returns the index of the leftmost part of the suffix, or -1 if not found.private static boolean
InternetDomainName.matchesType
(Optional<PublicSuffixType> desiredType, Optional<PublicSuffixType> actualType) If adesiredType
is specified, returns true only if theactualType
is identical. -
Uses of PublicSuffixType in com.google.thirdparty.publicsuffix
Fields in com.google.thirdparty.publicsuffix with type parameters of type PublicSuffixTypeModifier and TypeFieldDescriptionstatic final ImmutableMap
<String, PublicSuffixType> PublicSuffixPatterns.EXACT
If a hostname is contained as a key in this map, it is a public suffix.static final ImmutableMap
<String, PublicSuffixType> PublicSuffixPatterns.EXCLUDED
The elements in this map would pass the UNDER test, but are known not to be public suffixes and are thus excluded from consideration.static final ImmutableMap
<String, PublicSuffixType> PublicSuffixPatterns.UNDER
If a hostname is not a key in the EXCLUDE map, and if removing its leftmost component results in a name which is a key in this map, it is a public suffix.Methods in com.google.thirdparty.publicsuffix that return PublicSuffixTypeModifier and TypeMethodDescription(package private) static PublicSuffixType
PublicSuffixType.fromCode
(char code) Returns a PublicSuffixType of the right type according to the given codestatic PublicSuffixType
Returns the enum constant of this class with the specified name.static PublicSuffixType[]
PublicSuffixType.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.google.thirdparty.publicsuffix that return types with arguments of type PublicSuffixTypeModifier and TypeMethodDescription(package private) static ImmutableMap
<String, PublicSuffixType> TrieParser.parseFullString
(String encoded) (package private) static ImmutableMap
<String, PublicSuffixType> TrieParser.parseTrie
(CharSequence... encodedChunks) Parses a serialized trie representation of a map of reversed public suffixes into an immutable map of public suffixes.Method parameters in com.google.thirdparty.publicsuffix with type arguments of type PublicSuffixTypeModifier and TypeMethodDescriptionprivate static int
TrieParser.doParseTrieToBuilder
(Deque<CharSequence> stack, CharSequence encoded, int start, ImmutableMap.Builder<String, PublicSuffixType> builder) Parses a trie node and returns the number of characters consumed.