![JAR search and dependency download from the Maven repository](/logo.png)
com.google.common.net.HostSpecifier.class Maven / Gradle / Ivy
???? 4 ?
R S
2 T
2 U
V W
2 X
Y Z [ \
Y ]
^
5 _
5 `
5 a b
R c
d
a
^
e f g
h
i
3 j
3 k l
canonicalForm Ljava/lang/String; (Ljava/lang/String;)V Code LineNumberTable LocalVariableTable this %Lcom/google/common/net/HostSpecifier; MethodParameters fromValid 9(Ljava/lang/String;)Lcom/google/common/net/HostSpecifier; specifier
parsedHost #Lcom/google/common/net/HostAndPort; host addr Ljava/net/InetAddress; domain *Lcom/google/common/net/InternetDomainName;
StackMapTable m n o p from parseException Ljava/text/ParseException; e $Ljava/lang/IllegalArgumentException;
Exceptions RuntimeInvisibleAnnotations 8Lcom/google/errorprone/annotations/CanIgnoreReturnValue; isValid (Ljava/lang/String;)Z unused equals (Ljava/lang/Object;)Z that other Ljava/lang/Object; "RuntimeVisibleParameterAnnotations Ljavax/annotation/CheckForNull; hashCode ()I toString ()Ljava/lang/String;
SourceFile HostSpecifier.java RuntimeVisibleAnnotations 7Lcom/google/common/net/ElementTypesAreNonnullByDefault; 0Lcom/google/common/annotations/J2ktIncompatible; /Lcom/google/common/annotations/GwtIncompatible; q r s t u v w x y K z { | "java/lang/IllegalArgumentException #com/google/common/net/HostSpecifier } ~ 6 ? u J K java/lang/StringBuilder 6Domain name does not have a recognized public suffix: ? ? ' ( java/text/ParseException Invalid host specifier: ? ? ? A B H I java/lang/Object !com/google/common/net/HostAndPort java/lang/String java/net/InetAddress (com/google/common/net/InternetDomainName ()V
fromString 7(Ljava/lang/String;)Lcom/google/common/net/HostAndPort; hasPort ()Z $com/google/common/base/Preconditions
checkArgument (Z)V getHost #com/google/common/net/InetAddresses forString *(Ljava/lang/String;)Ljava/net/InetAddress; toUriString *(Ljava/net/InetAddress;)Ljava/lang/String; >(Ljava/lang/String;)Lcom/google/common/net/InternetDomainName; hasPublicSuffix append -(Ljava/lang/String;)Ljava/lang/StringBuilder; (Ljava/lang/String;I)V initCause ,(Ljava/lang/Throwable;)Ljava/lang/Throwable; 1 ! F
*? *+? ? " 4 5 6 #
$ %
&