com.groupbyinc.flux.common.apache.lucene.analysis.pattern.PatternTokenizer.class Maven / Gradle / Ivy
???? 4 ? Jcom/groupbyinc/flux/common/apache/lucene/analysis/pattern/PatternTokenizer ;com/groupbyinc/flux/common/apache/lucene/analysis/Tokenizer PatternTokenizer.java termAtt ULcom/groupbyinc/flux/common/apache/lucene/analysis/tokenattributes/CharTermAttribute; offsetAtt SLcom/groupbyinc/flux/common/apache/lucene/analysis/tokenattributes/OffsetAttribute; str Ljava/lang/StringBuilder; index I group matcher Ljava/util/regex/Matcher; buffer [C (Ljava/util/regex/Pattern;I)V DEFAULT_TOKEN_ATTRIBUTE_FACTORY @Lcom/groupbyinc/flux/common/apache/lucene/util/AttributeFactory; ](Lcom/groupbyinc/flux/common/apache/lucene/util/AttributeFactory;Ljava/util/regex/Pattern;I)V
this LLcom/groupbyinc/flux/common/apache/lucene/analysis/pattern/PatternTokenizer; pattern Ljava/util/regex/Pattern; C(Lcom/groupbyinc/flux/common/apache/lucene/util/AttributeFactory;)V
! Scom/groupbyinc/flux/common/apache/lucene/analysis/tokenattributes/CharTermAttribute # addAttribute L(Ljava/lang/Class;)Lcom/groupbyinc/flux/common/apache/lucene/util/Attribute; % &
' ) Qcom/groupbyinc/flux/common/apache/lucene/analysis/tokenattributes/OffsetAttribute + - java/lang/StringBuilder / ()V 1
0 2
4 6
8 : java/util/regex/Pattern < 3(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher; >
= ? A java/util/regex/Matcher C
groupCount ()I E F
D G "java/lang/IllegalArgumentException I +invalid group specified: pattern only has: K append -(Ljava/lang/String;)Ljava/lang/StringBuilder; M N
0 O (I)Ljava/lang/StringBuilder; M Q
0 R capturing groups T toString ()Ljava/lang/String; V W
0 X (Ljava/lang/String;)V Z
J [ >com/groupbyinc/flux/common/apache/lucene/util/AttributeFactory ] factory incrementToken ()Z
b length d F
0 e clearAttributes g 1
h find j a
D k start (I)I m n
D o end q n
D r setEmpty W()Lcom/groupbyinc/flux/common/apache/lucene/analysis/tokenattributes/CharTermAttribute; t u $ v q(Ljava/lang/CharSequence;II)Lcom/groupbyinc/flux/common/apache/lucene/analysis/tokenattributes/CharTermAttribute; M x $ y
correctOffset { n
| setOffset (II)V ~ , ???? m F
D ? q F
D ? endIndex java/io/IOException ? q 1
? ofs close ? 1
? setLength (I)V ? ?
0 ?
trimToSize ? 1
0 ? java/lang/Throwable ? reset ? 1
? input Ljava/io/Reader; ? ? ?
fillBuffer (Ljava/io/Reader;)V ? ?
? ? >
D ? java/io/Reader ? read ([C)I ? ?
? ? ([CII)Ljava/lang/StringBuilder; M ?
0 ? len Code LocalVariableTable LineNumberTable
StackMapTable
Exceptions
SourceFile 1
? L
*? +? ? ?
?
C D ? ? x*+? "**$? (? $? ***,? (? ,? .*? 0Y? 3? 5* ?? 7*? 9*,;? @? B? 4*? B? H? )? JY? 0Y? 3L? P*? B? H? SU? P? Y? \?? ? * x x _ x x
? *
H 8 9 ; * ? 3 I 8 M B P Q Q w S ? ? w ^ = ` a ? ? J*? c*? 5? f? ?*? i*? 9? k*? B? l? Y**? B*? 9? p? c*? B*? 9? s<*? c? ???*? *? w *? 5*? c? z W*? .**? c? }*? }? ? ?*?? c?*? B? l? g*? B? ?*? cd? J*? *? w *? 5*? c*? B? ?? z W*? .**? c? }**? B? ?? }? ? **? B? ?? c?**? B? ?? c???*? 5? f*? cd? *?? c?*? *? w *? 5*? c*? 5? f? z W*? .**? c? }**? 5? f? }? ? *?? c? ? @ ; ?
J ? j W X Y \ % ] 4 ^ @ _ K ` c a y b { e ? f ? k ? l ? n ? o ? p ? q ? t ? w x y |&