com.groupbyinc.flux.common.apache.lucene.codecs.simpletext.SimpleTextUtil.class Maven / Gradle / Ivy
???? 4 ? Icom/groupbyinc/flux/common/apache/lucene/codecs/simpletext/SimpleTextUtil java/lang/Object SimpleTextUtil.java NEWLINE B
ESCAPE \ CHECKSUM 8Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef; ()V
this KLcom/groupbyinc/flux/common/apache/lucene/codecs/simpletext/SimpleTextUtil; write ?(Lcom/groupbyinc/flux/common/apache/lucene/store/DataOutput;Ljava/lang/String;Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRefBuilder;)V java/io/IOException java/lang/String length ()I
=com/groupbyinc/flux/common/apache/lucene/util/BytesRefBuilder copyChars (Ljava/lang/CharSequence;II)V
! get :()Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef; # $
% v(Lcom/groupbyinc/flux/common/apache/lucene/store/DataOutput;Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;)V '
( out ;Lcom/groupbyinc/flux/common/apache/lucene/store/DataOutput; s Ljava/lang/String; scratch ?Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRefBuilder; 6com/groupbyinc/flux/common/apache/lucene/util/BytesRef 0 I 2 1 3 bytes [B 5 6 1 7 offset 9 2 1 : 9com/groupbyinc/flux/common/apache/lucene/store/DataOutput < writeByte (B)V > ?
= @ bx i b writeNewline >(Lcom/groupbyinc/flux/common/apache/lucene/store/DataOutput;)V readLine |(Lcom/groupbyinc/flux/common/apache/lucene/store/DataInput;Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRefBuilder;)V 8com/groupbyinc/flux/common/apache/lucene/store/DataInput I readByte ()B K L
J M grow (I)V O P
Q setByteAt (IB)V S T
U setLength W P
X in :Lcom/groupbyinc/flux/common/apache/lucene/store/DataInput; upto
writeChecksum ~(Lcom/groupbyinc/flux/common/apache/lucene/store/IndexOutput;Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRefBuilder;)V java/util/Locale _ ROOT Ljava/util/Locale; a b ` c %020d e :com/groupbyinc/flux/common/apache/lucene/store/IndexOutput g getChecksum ()J i j
h k java/lang/Long m valueOf (J)Ljava/lang/Long; o p
n q format K(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; s t
u w
y E F
{