
com.google.common.io.CharSource.class Maven / Gradle / Ivy
The newest version!
???? 2 ?
- ? ?
?
, ? ?
?
? ?
, ?
? ?
? ? ?
?
? ?
? ? ?
, ?
? ? ?
? ????????
?
? ?
? ?
? ? ?
? ?
, ?
?
? ? ? ?
? ?
? ?
? ?
$ ?
? ?
, ?
? ? ?
) ?
0 ? ? ? ConcatenatedCharSource InnerClasses ? EmptyCharSource CharSequenceCharSource AsByteSource ()V Code LineNumberTable LocalVariableTable this !Lcom/google/common/io/CharSource; asByteSource =(Ljava/nio/charset/Charset;)Lcom/google/common/io/ByteSource; charset Ljava/nio/charset/Charset; RuntimeInvisibleAnnotations $Lcom/google/common/annotations/Beta;
openStream ()Ljava/io/Reader;
Exceptions ? openBufferedStream ()Ljava/io/BufferedReader; reader Ljava/io/Reader;
StackMapTable ? ?
lengthIfKnown #()Lcom/google/common/base/Optional; Signature 5()Lcom/google/common/base/Optional; length ()J e Ljava/lang/Throwable; !Lcom/google/common/base/Optional; closer Lcom/google/common/io/Closer; LocalVariableTypeTable 3Lcom/google/common/base/Optional; ? ? ? ? countBySkipping (Ljava/io/Reader;)J count J read copyTo (Ljava/lang/Appendable;)J
appendable Ljava/lang/Appendable; ? 8Lcom/google/errorprone/annotations/CanIgnoreReturnValue; "(Lcom/google/common/io/CharSink;)J writer Ljava/io/Writer; sink Lcom/google/common/io/CharSink; ? ()Ljava/lang/String;
readFirstLine Ljava/io/BufferedReader; RuntimeVisibleAnnotations Ljavax/annotation/Nullable; readLines +()Lcom/google/common/collect/ImmutableList; result Ljava/util/List; line Ljava/lang/String; $Ljava/util/List; ? ? ?()Lcom/google/common/collect/ImmutableList; 8(Lcom/google/common/io/LineProcessor;)Ljava/lang/Object; processor $Lcom/google/common/io/LineProcessor; )Lcom/google/common/io/LineProcessor; ? D(Lcom/google/common/io/LineProcessor;)TT; isEmpty ()Z concat 7(Ljava/lang/Iterable;)Lcom/google/common/io/CharSource; sources Ljava/lang/Iterable; 8Ljava/lang/Iterable<+Lcom/google/common/io/CharSource;>; [(Ljava/lang/Iterable<+Lcom/google/common/io/CharSource;>;)Lcom/google/common/io/CharSource; 7(Ljava/util/Iterator;)Lcom/google/common/io/CharSource; Ljava/util/Iterator; 8Ljava/util/Iterator<+Lcom/google/common/io/CharSource;>; [(Ljava/util/Iterator<+Lcom/google/common/io/CharSource;>;)Lcom/google/common/io/CharSource; E([Lcom/google/common/io/CharSource;)Lcom/google/common/io/CharSource; "[Lcom/google/common/io/CharSource; wrap ;(Ljava/lang/CharSequence;)Lcom/google/common/io/CharSource; charSequence Ljava/lang/CharSequence; empty #()Lcom/google/common/io/CharSource;
SourceFile CharSource.java /Lcom/google/common/annotations/GwtIncompatible; ? ` 4 5 ,com/google/common/io/CharSource$AsByteSource 4 ? A B java/io/BufferedReader 4 ? ? ? M L M ? ? ? ? java/lang/Long ? Q ? ? ? ? ? java/io/Reader ] ^ ? 5 java/lang/Throwable ? ? ? ? ? ? ? ? ? ? ? A ? java/io/Writer ? ? E F ? n ? ? ? ? ? ? ? ? ? s ? a ? 6com/google/common/io/CharSource$ConcatenatedCharSource 4 ? ? ? ? ? ? ? 6com/google/common/io/CharSource$CharSequenceCharSource 4 ? ? com/google/common/io/CharSource java/lang/Object /com/google/common/io/CharSource$EmptyCharSource java/io/IOException com/google/common/base/Optional com/google/common/io/Closer java/lang/Appendable com/google/common/io/CharSink java/util/List java/lang/String "com/google/common/io/LineProcessor MAX_VALUE >(Lcom/google/common/io/CharSource;Ljava/nio/charset/Charset;)V (Ljava/io/Reader;)V absent isPresent get ()Ljava/lang/Object; longValue create ()Lcom/google/common/io/Closer; register ((Ljava/io/Closeable;)Ljava/io/Closeable; close rethrow 3(Ljava/lang/Throwable;)Ljava/lang/RuntimeException; skip (J)J $com/google/common/base/Preconditions checkNotNull &(Ljava/lang/Object;)Ljava/lang/Object; com/google/common/io/CharStreams copy -(Ljava/lang/Readable;Ljava/lang/Appendable;)J ()Ljava/io/Writer; toString ((Ljava/lang/Readable;)Ljava/lang/String; readLine com/google/common/collect/Lists newArrayList ()Ljava/util/ArrayList; add (Ljava/lang/Object;)Z 'com/google/common/collect/ImmutableList copyOf A(Ljava/util/Collection;)Lcom/google/common/collect/ImmutableList; L(Ljava/lang/Readable;Lcom/google/common/io/LineProcessor;)Ljava/lang/Object; ()I (Ljava/lang/Iterable;)V ?(Ljava/util/Iterator;)Lcom/google/common/collect/ImmutableList; >([Ljava/lang/Object;)Lcom/google/common/collect/ImmutableList; (Ljava/lang/CharSequence;)V
access$000 3()Lcom/google/common/io/CharSource$EmptyCharSource;! , - 4 5 6 / *? ? 7 F 8 9 : ; <