![JAR search and dependency download from the Maven repository](/logo.png)
com.google.common.net.InternetDomainName.class Maven / Gradle / Ivy
???? 4?
Z ? ? ? ? ?
? ?
? ? ?
* ?
* ?
* ? ?
? ? ? ?
? ?
? ? ?
? ? ?
? ?
? ? ?
? ?
? ?
? # ?
? ? ?
? ?
?
?
?
?
?
?
*
?
?
!
"
#
$%
&'
?
*(
)*
H ?
H+
H,
-.
?/
?0
*0
*12
?3
?4
56
?7
?8 9: DOTS_MATCHER $Lcom/google/common/base/CharMatcher; DOT_SPLITTER !Lcom/google/common/base/Splitter;
DOT_JOINER Lcom/google/common/base/Joiner; NO_SUFFIX_FOUND I
ConstantValue???? SUFFIX_NOT_INITIALIZED???? MAX_PARTS
MAX_LENGTH ? MAX_DOMAIN_PART_LENGTH ? name Ljava/lang/String; parts )Lcom/google/common/collect/ImmutableList; Signature =Lcom/google/common/collect/ImmutableList; publicSuffixIndexCache RuntimeVisibleAnnotations 7Lcom/google/errorprone/annotations/concurrent/LazyInit; registrySuffixIndexCache DASH_MATCHER
DIGIT_MATCHER LETTER_MATCHER PART_CHAR_MATCHER (Ljava/lang/String;)V Code LineNumberTable LocalVariableTable this *Lcom/google/common/net/InternetDomainName;
StackMapTable MethodParameters >(Ljava/lang/String;Lcom/google/common/collect/ImmutableList;)V LocalVariableTypeTable; R(Ljava/lang/String;Lcom/google/common/collect/ImmutableList;)V publicSuffixIndex ()I publicSuffixIndexLocal registrySuffixIndex registrySuffixIndexLocal findSuffixOfType $(Lcom/google/common/base/Optional;)I ancestorName i desiredType !Lcom/google/common/base/Optional; partsSize XLcom/google/common/base/Optional; [(Lcom/google/common/base/Optional;)I from >(Ljava/lang/String;)Lcom/google/common/net/InternetDomainName; domain RuntimeInvisibleAnnotations 8Lcom/google/errorprone/annotations/CanIgnoreReturnValue; validateSyntax (Ljava/util/List;)Z part Ljava/util/List; lastIndex $Ljava/util/List; '(Ljava/util/List;)Z validatePart (Ljava/lang/String;Z)Z isFinalPart Z
asciiChars +()Lcom/google/common/collect/ImmutableList; ?()Lcom/google/common/collect/ImmutableList; isPublicSuffix ()Z hasPublicSuffix publicSuffix ,()Lcom/google/common/net/InternetDomainName; Ljavax/annotation/CheckForNull; isUnderPublicSuffix isTopPrivateDomain topPrivateDomain isRegistrySuffix hasRegistrySuffix registrySuffix isUnderRegistrySuffix isTopDomainUnderRegistrySuffix topDomainUnderRegistrySuffix hasParent parent ancestor -(I)Lcom/google/common/net/InternetDomainName; levels
ancestorParts
substringFrom child leftParts isValid (Ljava/lang/String;)Z unused e $Ljava/lang/IllegalArgumentException; matchesType E(Lcom/google/common/base/Optional;Lcom/google/common/base/Optional;)Z
actualType ?(Lcom/google/common/base/Optional;Lcom/google/common/base/Optional;)Z toString ()Ljava/lang/String; equals (Ljava/lang/Object;)Z that object Ljava/lang/Object; "RuntimeVisibleParameterAnnotations hashCode ()V
SourceFile InternetDomainName.java -Lcom/google/errorprone/annotations/Immutable; 7Lcom/google/common/net/ElementTypesAreNonnullByDefault; -Lcom/google/common/annotations/GwtCompatible; emulated { ? (com/google/common/net/InternetDomainName s b v b [ \<=>?@A .B ?C ?DE Domain name too long: '%s':FGH m n ] ^IJKLM o pN ? Domain has too many parts: '%s' ? ? Not a valid domain name: '%s'O ? 4Cannot create an InternetDomainName with zero parts.GPQRS ? ?TUVW _ `XYZ[\]^_`ab 3com/google/thirdparty/publicsuffix/PublicSuffixTypecW ? ?d_e_f ?gb java/lang/String { |hai ? ?jklm z \no w \pqrs x \ ? ? ? ? ? ? ? ? ? ? Not under a public suffix: %stH ? ? ? ? ? ? ? ? Not under a registry suffix: %s ? ? Domain '%s' has no parentDu { ? java/lang/StringBuildervw ? ? ? ? "java/lang/IllegalArgumentExceptionx ? ? ? ? ?
.。.。yz{|{} -_~?? y \ java/lang/Object 'com/google/common/collect/ImmutableList "com/google/common/base/CharMatcher replaceFrom -(Ljava/lang/CharSequence;C)Ljava/lang/String; com/google/common/base/Ascii toLowerCase &(Ljava/lang/String;)Ljava/lang/String; endsWith length substring (II)Ljava/lang/String; $com/google/common/base/Preconditions
checkArgument ((ZLjava/lang/String;Ljava/lang/Object;)V com/google/common/base/Splitter split .(Ljava/lang/CharSequence;)Ljava/lang/Iterable; copyOf ?(Ljava/lang/Iterable;)Lcom/google/common/collect/ImmutableList; size isEmpty (ZLjava/lang/Object;)V com/google/common/base/Optional absent #()Lcom/google/common/base/Optional; REGISTRY 5Lcom/google/thirdparty/publicsuffix/PublicSuffixType; of 5(Ljava/lang/Object;)Lcom/google/common/base/Optional; subList -(II)Lcom/google/common/collect/ImmutableList; com/google/common/base/Joiner join ((Ljava/lang/Iterable;)Ljava/lang/String; 7com/google/thirdparty/publicsuffix/PublicSuffixPatterns UNDER (Lcom/google/common/collect/ImmutableMap; &com/google/common/collect/ImmutableMap get &(Ljava/lang/Object;)Ljava/lang/Object; fromNullable EXACT EXCLUDED containsKey checkNotNull java/util/List (I)Ljava/lang/Object; ascii &()Lcom/google/common/base/CharMatcher;
retainFrom ,(Ljava/lang/CharSequence;)Ljava/lang/String; matchesAllOf (Ljava/lang/CharSequence;)Z charAt (I)C matches (C)Z
checkState (I)Ljava/lang/String; append -(Ljava/lang/String;)Ljava/lang/StringBuilder; isPresent anyOf >(Ljava/lang/CharSequence;)Lcom/google/common/base/CharMatcher; on $(C)Lcom/google/common/base/Splitter; "(C)Lcom/google/common/base/Joiner; inRange ((CC)Lcom/google/common/base/CharMatcher; or J(Lcom/google/common/base/CharMatcher;)Lcom/google/common/base/CharMatcher; 1 Z [ \ ] ^ _ ` a b c d e b c f g b c h i b c j k b c l m n o p q r s b t u v b t u w \ x \ y \ z \ { | } ? *? *?? *?? ? +.? ? L+? ? ++?
d? L+?
?? ? +?
*+? *? +? ? ? *? ? ? ? +?
*? ? +?
? ~ 2 ? ?
? ? ? &