
com.google.common.io.Files$FileByteSource.class Maven / Gradle / Ivy
???? 2 ?
N
! O
P Q R S T
N
U
V
W X
Y Z
Y [ \
]
^
_ `
a
_ b
c
d e
f g
_ h i
_ j k
O l
m
n o
] p q file Ljava/io/File; (Ljava/io/File;)V Code LineNumberTable LocalVariableTable this FileByteSource InnerClasses +Lcom/google/common/io/Files$FileByteSource;
openStream ()Ljava/io/FileInputStream;
Exceptions r sizeIfKnown #()Lcom/google/common/base/Optional;
StackMapTable Signature 5()Lcom/google/common/base/Optional; size ()J read ()[B in Ljava/io/FileInputStream; e Ljava/lang/Throwable; closer Lcom/google/common/io/Closer; p s i toString ()Ljava/lang/String; ()Ljava/io/InputStream; t /(Ljava/io/File;Lcom/google/common/io/Files$1;)V x0 x1 Lcom/google/common/io/Files$1;
SourceFile
Files.java $ % $ u v w x java/io/File " # java/io/FileInputStream y z { 7 | } ~ ? ? ? 2 java/io/FileNotFoundException C D $ ? s ? ? - . ? ? ? ? ? 6 7 ? ? ? ? u java/lang/Throwable ? ? java/lang/StringBuilder Files.asByteSource( ? ? ? ? ) )com/google/common/io/Files$FileByteSource com/google/common/io/ByteSource java/io/IOException com/google/common/io/Closer com/google/common/io/Files$1 ()V $com/google/common/base/Preconditions checkNotNull &(Ljava/lang/Object;)Ljava/lang/Object; isFile ()Z length java/lang/Long valueOf (J)Ljava/lang/Long; com/google/common/base/Optional of 5(Ljava/lang/Object;)Lcom/google/common/base/Optional; absent (Ljava/lang/String;)V create ()Lcom/google/common/io/Closer; register ((Ljava/io/Closeable;)Ljava/io/Closeable;
getChannel !()Ljava/nio/channels/FileChannel; java/nio/channels/FileChannel com/google/common/io/Files readFile (Ljava/io/InputStream;J)[B close rethrow 3(Ljava/lang/Throwable;)Ljava/lang/RuntimeException; append -(Ljava/lang/String;)Ljava/lang/StringBuilder; -(Ljava/lang/Object;)Ljava/lang/StringBuilder; 0 ! " # $ % &