
com.google.common.net.InternetDomainName.class Maven / Gradle / Ivy
???? 23
? ?
? ?
? ? ?
?
?
? ? ?
? ? ? ?
? ?
? ? ?
? ? ?
? ?
? ? ?
? ?
? ? ? ?
? ? ? ?
? ?
? ? ?
? ? ? ? ?
? ? ?
? ? ?
? ? ?
?
? ? ? ?
?
?
?
? ?
? ?
? ?
? ?
6 ?
6 ?
6 ? ? ?
? ? ?
?
? ?
? ?
? ?
? ? ? ? ?
? ? DOTS_MATCHER $Lcom/google/common/base/CharMatcher; DOT_SPLITTER !Lcom/google/common/base/Splitter;
DOT_JOINER Lcom/google/common/base/Joiner; NO_PUBLIC_SUFFIX_FOUND I
ConstantValue???? DOT_REGEX Ljava/lang/String; MAX_PARTS
MAX_LENGTH ? MAX_DOMAIN_PART_LENGTH ? name parts )Lcom/google/common/collect/ImmutableList; Signature =Lcom/google/common/collect/ImmutableList; publicSuffixIndex DASH_MATCHER PART_CHAR_MATCHER (Ljava/lang/String;)V Code LineNumberTable LocalVariableTable this *Lcom/google/common/net/InternetDomainName;
StackMapTable ? ? findPublicSuffix ()I ancestorName i partsSize from >(Ljava/lang/String;)Lcom/google/common/net/InternetDomainName; domain validateSyntax (Ljava/util/List;)Z part Ljava/util/List; lastIndex LocalVariableTypeTable $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; isUnderPublicSuffix isTopPrivateDomain topPrivateDomain hasParent parent ancestor -(I)Lcom/google/common/net/InternetDomainName; levels child leftParts isValid (Ljava/lang/String;)Z e $Ljava/lang/IllegalArgumentException; ? matchesWildcardPublicSuffix pieces [Ljava/lang/String; ? toString ()Ljava/lang/String; equals (Ljava/lang/Object;)Z that object Ljava/lang/Object; "RuntimeVisibleParameterAnnotations Ljavax/annotation/Nullable; hashCode ()V
SourceFile InternetDomainName.java RuntimeInvisibleAnnotations $Lcom/google/common/annotations/Beta; -Lcom/google/common/annotations/GwtCompatible; a ? G H ? ? ? ? ? ? . ? ? ? l Domain name too long: '%s': java/lang/Object Y R I J
Z [ l Domain has too many parts: '%s' s t Not a valid domain name: '%s' k l ^ N K L
? ? ? (com/google/common/net/InternetDomainName java/lang/String a b { | H ` H _ H!"#$% H ? ? ? ? ? ? ? ? Not under a public suffix: %s& ? ? Domain '%s' has no parent p q java/lang/StringBuilder'( ? ? "java/lang/IllegalArgumentException \.)* ? ? ? l
.。.。+,-.-/ -_0 H12 "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; 'com/google/common/collect/ImmutableList copyOf ?(Ljava/lang/Iterable;)Lcom/google/common/collect/ImmutableList; size subList -(II)Lcom/google/common/collect/ImmutableList; com/google/common/base/Joiner join ((Ljava/lang/Iterable;)Ljava/lang/String; 7com/google/thirdparty/publicsuffix/PublicSuffixPatterns EXACT (Lcom/google/common/collect/ImmutableMap; &com/google/common/collect/ImmutableMap containsKey EXCLUDED checkNotNull &(Ljava/lang/Object;)Ljava/lang/Object; java/util/List get (I)Ljava/lang/Object; ASCII
retainFrom ,(Ljava/lang/CharSequence;)Ljava/lang/String; matchesAllOf (Ljava/lang/CharSequence;)Z charAt (I)C matches (C)Z DIGIT
checkState append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ((Ljava/lang/String;I)[Ljava/lang/String; UNDER anyOf >(Ljava/lang/CharSequence;)Lcom/google/common/base/CharMatcher; on $(C)Lcom/google/common/base/Splitter; "(C)Lcom/google/common/base/Joiner; JAVA_LETTER_OR_DIGIT or J(Lcom/google/common/base/CharMatcher;)Lcom/google/common/base/CharMatcher; 1
G H I J K L M N O P Q R O ; S N O T U N O V W N O X Y R Z [ \ ] ^ N _ H ` H a b c ?*? ? +.? ? L+? ? ++? d? L+? ?? ? ?
Y+S? *+? *?
+? ? ? *? ? ? ? ?
Y+S? *? ? ?
Y+S? **? ? ? d . ? ? ? ? &