
com.google.common.io.Files$FileByteSink.class Maven / Gradle / Ivy
???? 2 c
7
8
9 : ; <
= > ? @ A B
= C
D E
8 F
G
H I J
K
L N O file Ljava/io/File; modes (Lcom/google/common/collect/ImmutableSet; Signature NLcom/google/common/collect/ImmutableSet; 6(Ljava/io/File;[Lcom/google/common/io/FileWriteMode;)V Code LineNumberTable LocalVariableTable this FileByteSink InnerClasses )Lcom/google/common/io/Files$FileByteSink; %[Lcom/google/common/io/FileWriteMode;
openStream ()Ljava/io/FileOutputStream;
Exceptions P toString ()Ljava/lang/String; ()Ljava/io/OutputStream; Q T(Ljava/io/File;[Lcom/google/common/io/FileWriteMode;Lcom/google/common/io/Files$1;)V x0 x1 x2 Lcom/google/common/io/Files$1;
SourceFile
Files.java R S T U java/io/File V W X java/io/FileOutputStream Y Z [ \ ] ^ java/lang/StringBuilder Files.asByteSink( _ ` _ a , ) + , ' ( b 'com/google/common/io/Files$FileByteSink com/google/common/io/ByteSink java/io/IOException com/google/common/io/Files$1 ()V $com/google/common/base/Preconditions checkNotNull &(Ljava/lang/Object;)Ljava/lang/Object; &com/google/common/collect/ImmutableSet copyOf =([Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSet; "com/google/common/io/FileWriteMode APPEND $Lcom/google/common/io/FileWriteMode; contains (Ljava/lang/Object;)Z (Ljava/io/File;Z)V append -(Ljava/lang/String;)Ljava/lang/StringBuilder; -(Ljava/lang/Object;)Ljava/lang/StringBuilder; com/google/common/io/Files 0 ? b *? *+? ? ? *,? ? ? ? ? ? ? ! " % &