Uses of Class
com.google.thirdparty.publicsuffix.PublicSuffixType
-
Packages that use PublicSuffixType Package Description com.google.common.net This package contains utility methods and classes for working with net addresses (numeric IP and domain names).com.google.thirdparty.publicsuffix -
-
Uses of PublicSuffixType in com.google.common.net
Method parameters in com.google.common.net with type arguments of type PublicSuffixType Modifier and Type Method Description private intInternetDomainName. findSuffixOfType(Optional<PublicSuffixType> desiredType)Returns the index of the leftmost part of the suffix, or -1 if not found.private static booleanInternetDomainName. matchesType(Optional<PublicSuffixType> desiredType, Optional<PublicSuffixType> actualType)If adesiredTypeis specified, returns true only if theactualTypeis identical.private static booleanInternetDomainName. matchesWildcardSuffixType(Optional<PublicSuffixType> desiredType, java.lang.String domain)Does the domain name match one of the "wildcard" patterns (e.g. -
Uses of PublicSuffixType in com.google.thirdparty.publicsuffix
Fields in com.google.thirdparty.publicsuffix with type parameters of type PublicSuffixType Modifier and Type Field Description static ImmutableMap<java.lang.String,PublicSuffixType>PublicSuffixPatterns. EXACTIf a hostname is contained as a key in this map, it is a public suffix.static ImmutableMap<java.lang.String,PublicSuffixType>PublicSuffixPatterns. EXCLUDEDThe elements in this map would pass the UNDER test, but are known not to be public suffixes and are thus excluded from consideration.static ImmutableMap<java.lang.String,PublicSuffixType>PublicSuffixPatterns. UNDERIf 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 PublicSuffixType Modifier and Type Method Description (package private) static PublicSuffixTypePublicSuffixType. fromCode(char code)Returns a PublicSuffixType of the right type according to the given code(package private) static PublicSuffixTypePublicSuffixType. fromIsPrivate(boolean isPrivate)static PublicSuffixTypePublicSuffixType. valueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static PublicSuffixType[]PublicSuffixType. values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in com.google.thirdparty.publicsuffix that return types with arguments of type PublicSuffixType Modifier and Type Method Description (package private) static ImmutableMap<java.lang.String,PublicSuffixType>TrieParser. parseTrie(java.lang.CharSequence encoded)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 PublicSuffixType Modifier and Type Method Description private static intTrieParser. doParseTrieToBuilder(java.util.List<java.lang.CharSequence> stack, java.lang.CharSequence encoded, int start, ImmutableMap.Builder<java.lang.String,PublicSuffixType> builder)Parses a trie node and returns the number of characters consumed.
-