com.google.common.net.InetAddresses.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jelly Show documentation
Show all versions of jelly Show documentation
Java Functional Metaprogramming API
The newest version!
???? 2? l
l
l
l
l
l
l
l !"
#$
l%
#&
#'
(
)
*
+,
-
.
/0
1
2 ??
3456
+7
8
39:
;
3<
=>
l?
l@
AB
C
DEF
lGH
IJ
lKL
/M
/<
lNO
AP
lQ
lRS
lTU
VWXYZ
L[
l\]
l^
l_
l`
Lab lc
ld
le
f
#g
#h
ijkl
mn?
=o
lp
<
VqXrst uv
w
?xy
lz{|
TeredoInfo InnerClasses IPV4_PART_COUNT I
ConstantValue IPV6_PART_COUNT LOOPBACK4 Ljava/net/Inet4Address; ANY4 ()V Code LineNumberTable LocalVariableTable this %Lcom/google/common/net/InetAddresses; getInet4Address ([B)Ljava/net/Inet4Address; bytes [B
StackMapTable forString *(Ljava/lang/String;)Ljava/net/InetAddress; ipString Ljava/lang/String; addr ?
isInetAddress (Ljava/lang/String;)Z ipStringToBytes (Ljava/lang/String;)[B c C i hasColon Z hasDot textToNumericFormatV4 ex !Ljava/lang/NumberFormatException; address [Ljava/lang/String; ?! textToNumericFormatV6 partsHi partsLo parts skipIndex partsSkipped rawBytes Ljava/nio/ByteBuffer;} convertDottedQuadToHex &(Ljava/lang/String;)Ljava/lang/String; lastColon initialPart
dottedQuad quad penultimate ultimate~
parseOctet (Ljava/lang/String;)B ipPart octet parseHextet (Ljava/lang/String;)S hextet bytesToInetAddress ([B)Ljava/net/InetAddress; e Ljava/net/UnknownHostException;5 toAddrString *(Ljava/net/InetAddress;)Ljava/lang/String; ip Ljava/net/InetAddress; hextets [I ? compressLongestRunOfZeroes ([I)V runLength bestRunStart
bestRunLength runStart hextetsToIPv6String ([I)Ljava/lang/String; thisIsNumber buf Ljava/lang/StringBuilder;
lastWasNumber, toUriString forUriString expectBytes hostAddr isUriInetAddress $Ljava/lang/IllegalArgumentException;L isCompatIPv4Address (Ljava/net/Inet6Address;)Z Ljava/net/Inet6Address; getCompatIPv4Address 0(Ljava/net/Inet6Address;)Ljava/net/Inet4Address;
is6to4Address get6to4IPv4Address isTeredoAddress
getTeredoInfo I(Ljava/net/Inet6Address;)Lcom/google/common/net/InetAddresses$TeredoInfo; server flags port clientBytes client: isIsatapAddress getIsatapIPv4Address hasEmbeddedIPv4ClientAddress getEmbeddedIPv4ClientAddress isMappedIPv4Address getCoercedIPv4Address /(Ljava/net/InetAddress;)Ljava/net/Inet4Address; leadingBytesOfZero ip6
addressAsLong J coercedHash coerceToInteger (Ljava/net/InetAddress;)I fromInteger (I)Ljava/net/Inet4Address; fromLittleEndianByteArray reversed
Exceptions decrement .(Ljava/net/InetAddress;)Ljava/net/InetAddress; increment isMaximum (Ljava/net/InetAddress;)Z formatIllegalArgumentException K(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/IllegalArgumentException; format args [Ljava/lang/Object;
access$000 ()Ljava/net/Inet4Address;
SourceFile InetAddresses.java RuntimeInvisibleAnnotations $Lcom/google/common/annotations/Beta; w v x y ;Byte array has invalid length for an IPv4 address: %s != 4. java/lang/Object????? ? ? java/net/Inet4Address ? ? !'%s' is not an IP string literal. ? ?~??????? ? ? ? ? ? ? \.?? ? ? java/lang/NumberFormatException :}?? ? ????????????? java/lang/StringBuilder?????? 0? ????? ? java/net/UnknownHostException java/lang/AssertionError x????? java/net/Inet6Address??????? ? ? ? ???? x??? :: [ ? ? ]? ? Not a valid URI IP literal: '%s' ? ? "java/lang/IllegalArgumentException?? ? ? $Address '%s' is not IPv4-compatible.?? ? ? ? #Address '%s' is not a 6to4 address. ? ? %Address '%s' is not a Teredo address.?????? .com/google/common/net/InetAddresses$TeredoInfo x? ? ? &Address '%s' is not an ISATAP address. ? ? ? ? ? ?? "'%s' has no embedded IPv4 address. u v ? ? ? ?????????????????? ? ????? Decrementing %s would wrap. Incrementing %s would wrap.??? ?? x? 127.0.0.1 ? ? 0.0.0.0 #com/google/common/net/InetAddresses java/nio/ByteBuffer java/lang/String java/lang/Integer valueOf (I)Ljava/lang/Integer; $com/google/common/base/Preconditions
checkArgument )(ZLjava/lang/String;[Ljava/lang/Object;)V length ()I charAt (I)C java/lang/Character digit (CI)I split ((Ljava/lang/String;I)[Ljava/lang/String; allocate (I)Ljava/nio/ByteBuffer; putShort (S)Ljava/nio/ByteBuffer; array ()[B lastIndexOf (I)I substring (II)Ljava/lang/String; (I)Ljava/lang/String; toHexString append -(Ljava/lang/String;)Ljava/lang/StringBuilder; toString ()Ljava/lang/String; parseInt (Ljava/lang/String;)I
startsWith (Ljava/lang/String;I)I java/net/InetAddress getByAddress (Ljava/lang/Object;)V checkNotNull &(Ljava/lang/Object;)Ljava/lang/Object; getHostAddress (Z)V
getAddress !com/google/common/primitives/Ints fromBytes (BBBB)I java/util/Arrays fill ([IIII)V (I)V (C)Ljava/lang/StringBuilder; endsWith isIPv4CompatibleAddress ()Z copyOfRange ([BII)[B com/google/common/io/ByteStreams newDataInput .([BI)Lcom/google/common/io/ByteArrayDataInput; 'com/google/common/io/ByteArrayDataInput readShort ()S 3(Ljava/net/Inet4Address;Ljava/net/Inet4Address;II)V getClient hashCode wrap ([BII)Ljava/nio/ByteBuffer; getLong ()J com/google/common/hash/Hashing
murmur3_32 '()Lcom/google/common/hash/HashFunction; #com/google/common/hash/HashFunction hashLong $(J)Lcom/google/common/hash/HashCode; com/google/common/hash/HashCode asInt toByteArray (I)[B -([B)Lcom/google/common/io/ByteArrayDataInput; readInt java/util/Locale ROOT Ljava/util/Locale; K(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; (Ljava/lang/String;)V 1 l o p q r s p q t u v w v &