org.mtzky.lucene.filter
クラス CharToCharMappingTokenFilter

java.lang.Object
  上位を拡張 org.apache.lucene.util.AttributeSource
      上位を拡張 org.apache.lucene.analysis.TokenStream
          上位を拡張 org.apache.lucene.analysis.TokenFilter
              上位を拡張 org.mtzky.lucene.filter.CharToCharMappingTokenFilter
すべての実装されたインタフェース:
Closeable
直系の既知のサブクラス:
HalfFullwidthFormsFilter, HiraganaToKatakanaFilter, KanaUpperCaseFilter, KanjiVariantsFilter

public abstract class CharToCharMappingTokenFilter
extends TokenFilter

Normalizes a character in the token text to another character.

作成者:
mtzky

入れ子のクラスの概要
 
クラス org.apache.lucene.util.AttributeSource から継承された入れ子のクラス/インタフェース
AttributeSource.AttributeFactory, AttributeSource.State
 
フィールドの概要
 
クラス org.apache.lucene.analysis.TokenFilter から継承されたフィールド
input
 
コンストラクタの概要
CharToCharMappingTokenFilter(TokenStream input)
           
 
メソッドの概要
protected abstract  char convert(char c)
           
 boolean incrementToken()
           
 
クラス org.apache.lucene.analysis.TokenFilter から継承されたメソッド
close, end, reset
 
クラス org.apache.lucene.util.AttributeSource から継承されたメソッド
addAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, restoreState, toString
 
クラス java.lang.Object から継承されたメソッド
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

コンストラクタの詳細

CharToCharMappingTokenFilter

public CharToCharMappingTokenFilter(TokenStream input)
メソッドの詳細

incrementToken

public final boolean incrementToken()
                             throws IOException
定義:
クラス TokenStream 内の incrementToken
例外:
IOException

convert

protected abstract char convert(char c)
パラメータ:
c - character to convert
戻り値:
a converted character


Copyright (C) 2010-2011 Mtzky. AllRights Reserved.