de.uniks.networkparser.ext.io.FileBuffer.class Maven / Gradle / Ivy
???? 4 ?
? ? ?
? + ? ?
?
+ ? + ?
? + ? ?
? ? ?
? ?
? ?
? + ? ? + ?
+ ?
?
?
?
?
?
? + ? ?
+ ?
?
+ ? ?
# ?
? ? ?
?
? ?
+ ?
? ?
+ ?
+ ?
+ ?
+ ?
+ ?
+ ?
?
?
? ?
5 ? ? ?
# ?
5 ?
5 ?
5 ? ?
+ ?
+ ? ? reader Ljava/io/BufferedReader; file Ljava/io/File; lookAHead /Lde/uniks/networkparser/buffer/CharacterBuffer; length I currentChar C ()V Code LineNumberTable LocalVariableTable this *Lde/uniks/networkparser/ext/io/FileBuffer; withFile >(Ljava/lang/String;)Lde/uniks/networkparser/ext/io/FileBuffer; fileName Ljava/lang/String; ;(Ljava/io/File;I)Lde/uniks/networkparser/ext/io/FileBuffer; fis Ljava/io/FileInputStream; isr Ljava/io/InputStreamReader; cache
StackMapTable ? :(Ljava/io/File;)Lde/uniks/networkparser/ext/io/FileBuffer; ()I exist ()Z getChar ()C value ? toString ()Ljava/lang/String; i max read values [C len k ?
withLookAHead D(Ljava/lang/CharSequence;)Lde/uniks/networkparser/ext/io/FileBuffer; lookahead Ljava/lang/CharSequence; -(C)Lde/uniks/networkparser/ext/io/FileBuffer; current nextClean (Z)C currentValid Z getCurrentChar getByte ()B close writeFile .(Ljava/lang/String;Ljava/lang/CharSequence;Z)Z data
appendData buffer -(Ljava/lang/String;Ljava/lang/CharSequence;)Z
deleteFile (Ljava/lang/String;)Z ?
createFile
parentFile write (Ljava/lang/CharSequence;Z)Z os Ljava/io/FileOutputStream; append ? 1(C)Lde/uniks/networkparser/interfaces/BufferItem; H(Ljava/lang/CharSequence;)Lde/uniks/networkparser/interfaces/BufferItem;
SourceFile FileBuffer.java J K -de/uniks/networkparser/buffer/CharacterBuffer D E java/io/File J ? Q ] B C F ? F G java/io/FileInputStream J ? java/io/InputStreamReader UTF-8 ? ? ? J ? java/io/BufferedReader J ? @ A java/lang/Exception ? G Q U ? ` F ^ ? ? ? K ? ? i ^ H I java/io/IOException ? ^ i ? java/lang/String J ? ? ? ? ? ? u v a b | K (de/uniks/networkparser/ext/io/FileBuffer Q R _ ` ? ` ? ? } ~ ? ` ? ? ? ` java/io/FileOutputStream J ? e f ? ? ? ? ? K java/io/FileNotFoundException o s o p $de/uniks/networkparser/buffer/Buffer (Ljava/lang/String;)V ()J (Ljava/io/File;)V java/nio/charset/Charset forName .(Ljava/lang/String;)Ljava/nio/charset/Charset; 2(Ljava/io/InputStream;Ljava/nio/charset/Charset;)V (Ljava/io/Reader;I)V position exists charAt (I)C clear addStart 2(I)Lde/uniks/networkparser/buffer/CharacterBuffer; remaining ([CII)I ([C)V set I(Ljava/lang/CharSequence;)Lde/uniks/networkparser/buffer/CharacterBuffer; java/lang/CharSequence 2(C)Lde/uniks/networkparser/buffer/CharacterBuffer; delete
getParentFile ()Ljava/io/File; mkdirs (Ljava/io/File;Z)V getBytes ()[B ([B)V flush ! + ? @ A B C D E F G H I J K L > *? *? Y? ? ? M
&