Kieora Lucene Backend 6.0.0.CR3

org.kie.kieora.backend.lucene.analyzer
Class LowerCaseTokenizer

java.lang.Object
  extended by org.apache.lucene.util.AttributeSource
      extended by org.apache.lucene.analysis.TokenStream
          extended by org.apache.lucene.analysis.Tokenizer
              extended by org.apache.lucene.analysis.util.CharTokenizer
                  extended by org.kie.kieora.backend.lucene.analyzer.LowerCaseTokenizer
All Implemented Interfaces:
Closeable

public class LowerCaseTokenizer
extends org.apache.lucene.analysis.util.CharTokenizer


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.lucene.util.AttributeSource
org.apache.lucene.util.AttributeSource.AttributeFactory, org.apache.lucene.util.AttributeSource.State
 
Field Summary
 
Fields inherited from class org.apache.lucene.analysis.Tokenizer
input
 
Constructor Summary
LowerCaseTokenizer(org.apache.lucene.util.Version matchVersion, org.apache.lucene.util.AttributeSource.AttributeFactory factory, Reader input)
           
LowerCaseTokenizer(org.apache.lucene.util.Version matchVersion, org.apache.lucene.util.AttributeSource source, Reader input)
           
LowerCaseTokenizer(org.apache.lucene.util.Version matchVersion, Reader input)
           
 
Method Summary
protected  boolean isTokenChar(int c)
           
protected  int normalize(int c)
          Converts char to lower case Character.toLowerCase(int).
 
Methods inherited from class org.apache.lucene.analysis.util.CharTokenizer
end, incrementToken, reset
 
Methods inherited from class org.apache.lucene.analysis.Tokenizer
close, correctOffset, setReader
 
Methods inherited from class org.apache.lucene.util.AttributeSource
addAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, restoreState
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LowerCaseTokenizer

public LowerCaseTokenizer(org.apache.lucene.util.Version matchVersion,
                          Reader input)

LowerCaseTokenizer

public LowerCaseTokenizer(org.apache.lucene.util.Version matchVersion,
                          org.apache.lucene.util.AttributeSource source,
                          Reader input)

LowerCaseTokenizer

public LowerCaseTokenizer(org.apache.lucene.util.Version matchVersion,
                          org.apache.lucene.util.AttributeSource.AttributeFactory factory,
                          Reader input)
Method Detail

isTokenChar

protected boolean isTokenChar(int c)
Specified by:
isTokenChar in class org.apache.lucene.analysis.util.CharTokenizer

normalize

protected int normalize(int c)
Converts char to lower case Character.toLowerCase(int).

Overrides:
normalize in class org.apache.lucene.analysis.util.CharTokenizer

Kieora Lucene Backend 6.0.0.CR3

Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.