org.mtzky.lucene.normalizer
クラス CharToStringMappingNormalizer

java.lang.Object
  上位を拡張 java.io.Reader
      上位を拡張 org.mtzky.lucene.normalizer.CharToStringMappingNormalizer
すべての実装されたインタフェース:
Closeable, Readable, Closable
直系の既知のサブクラス:
RomanNumberNormalizer

public abstract class CharToStringMappingNormalizer
extends Reader
implements Closable

作成者:
mtzky

コンストラクタの概要
CharToStringMappingNormalizer(Reader in)
           
 
メソッドの概要
 void close()
           
protected abstract  String convert(int c)
           
 boolean isClosed()
           
 int read(char[] cbuf, int off, int len)
           
 
クラス java.io.Reader から継承されたメソッド
mark, markSupported, read, read, read, ready, reset, skip
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

CharToStringMappingNormalizer

public CharToStringMappingNormalizer(Reader in)
パラメータ:
in -
メソッドの詳細

read

public int read(char[] cbuf,
                int off,
                int len)
         throws IOException
定義:
クラス Reader 内の read
例外:
IOException

convert

protected abstract String convert(int c)
パラメータ:
c - character to convert
戻り値:
a converted string, or null if unnecessary

isClosed

public boolean isClosed()
定義:
インタフェース Closable 内の isClosed

close

public void close()
           throws IOException
定義:
インタフェース Closeable 内の close
定義:
クラス Reader 内の close
例外:
IOException


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