
com.google.common.io.Resources.class Maven / Gradle / Ivy
The newest version!
???? 2 ?
X Y
Z
[
\ ]
\ ^
_
` a
` b c
X
d e
\ f
g h
g i j
k l
m n o
p q
r s
k p t
k u
r v w
UrlByteSource InnerClasses ()V Code LineNumberTable LocalVariableTable this Lcom/google/common/io/Resources; asByteSource 1(Ljava/net/URL;)Lcom/google/common/io/ByteSource; url Ljava/net/URL; asCharSource K(Ljava/net/URL;Ljava/nio/charset/Charset;)Lcom/google/common/io/CharSource; charset Ljava/nio/charset/Charset; toByteArray (Ljava/net/URL;)[B
Exceptions x toString <(Ljava/net/URL;Ljava/nio/charset/Charset;)Ljava/lang/String; readLines `(Ljava/net/URL;Ljava/nio/charset/Charset;Lcom/google/common/io/LineProcessor;)Ljava/lang/Object; callback $Lcom/google/common/io/LineProcessor; LocalVariableTypeTable )Lcom/google/common/io/LineProcessor; Signature l(Ljava/net/URL;Ljava/nio/charset/Charset;Lcom/google/common/io/LineProcessor;)TT; RuntimeInvisibleAnnotations 8Lcom/google/errorprone/annotations/CanIgnoreReturnValue; :(Ljava/net/URL;Ljava/nio/charset/Charset;)Ljava/util/List; N(Ljava/net/URL;Ljava/nio/charset/Charset;)Ljava/util/List; copy '(Ljava/net/URL;Ljava/io/OutputStream;)V from to Ljava/io/OutputStream; getResource "(Ljava/lang/String;)Ljava/net/URL; resourceName Ljava/lang/String; loader Ljava/lang/ClassLoader;
StackMapTable o y 3(Ljava/lang/Class;Ljava/lang/String;)Ljava/net/URL; contextClass Ljava/lang/Class; Ljava/lang/Class<*>; 6(Ljava/lang/Class<*>;Ljava/lang/String;)Ljava/net/URL;
SourceFile Resources.java $Lcom/google/common/annotations/Beta; /Lcom/google/common/annotations/GwtIncompatible; ! ,com/google/common/io/Resources$UrlByteSource z ' ( { + | } ~ + , } ? 5 ? com/google/common/io/Resources$1 5 6 java/util/List ? ? ? ? ? ? ? com/google/common/io/Resources ? ? ? ? ? ? java/lang/ClassLoader F G resource %s not found. ? ? ? %resource %s relative to %s not found. ? ? ? ? java/lang/Object java/io/IOException java/net/URL 3(Ljava/net/URL;Lcom/google/common/io/Resources$1;)V com/google/common/io/ByteSource =(Ljava/nio/charset/Charset;)Lcom/google/common/io/CharSource; read ()[B com/google/common/io/CharSource ()Ljava/lang/String; 8(Lcom/google/common/io/LineProcessor;)Ljava/lang/Object; copyTo (Ljava/io/OutputStream;)J java/lang/Thread
currentThread ()Ljava/lang/Thread; getContextClassLoader ()Ljava/lang/ClassLoader; java/lang/Class getClassLoader "com/google/common/base/MoreObjects firstNonNull 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; $com/google/common/base/Preconditions
checkArgument ((ZLjava/lang/String;Ljava/lang/Object;)V getName :(ZLjava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V 1
! " / *? ? # 0 $ % &