org.aminds.lucene.analysis
クラス CodePointBasedSubReader

java.lang.Object
  上位を拡張 java.io.Reader
      上位を拡張 org.apache.lucene.analysis.CharStream
          上位を拡張 org.apache.lucene.analysis.CharFilter
              上位を拡張 org.aminds.lucene.analysis.SubReader
                  上位を拡張 org.aminds.lucene.analysis.CodePointBasedSubReader
すべての実装されたインタフェース:
Closeable, Readable, ReusableCharFilter
直系の既知のサブクラス:
CJKSubReader, EnglishSubReader, HangulSubReader

public abstract class CodePointBasedSubReader
extends SubReader

作成者:
Masashi Nakanishi

フィールドの概要
 
クラス org.apache.lucene.analysis.CharFilter から継承されたフィールド
input
 
クラス java.io.Reader から継承されたフィールド
lock
 
インタフェース org.aminds.lucene.analysis.ReusableCharFilter から継承されたフィールド
EMPTY_CHAR_STREAM
 
コンストラクタの概要
CodePointBasedSubReader()
           
 
メソッドの概要
protected abstract  boolean accept(int codePoint)
           
 boolean canStart(Reader in)
          Judge it appropriate to start to read this fragment.
static boolean isWhitespace(int codePoint)
          if codePoint is negative, returns false.
 int read(char[] cbuf, int off, int len)
           
 
クラス org.aminds.lucene.analysis.SubReader から継承されたメソッド
close, currentOffset, end, mark, markSupported, reset, reset
 
クラス org.apache.lucene.analysis.CharFilter から継承されたメソッド
correct, correctOffset
 
クラス java.io.Reader から継承されたメソッド
read, read, read, ready, skip
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

CodePointBasedSubReader

public CodePointBasedSubReader()
メソッドの詳細

accept

protected abstract boolean accept(int codePoint)

canStart

public boolean canStart(Reader in)
                 throws IOException
クラス SubReader の記述:
Judge it appropriate to start to read this fragment.

定義:
クラス SubReader 内の canStart
戻り値:
true if it can start
例外:
IOException

read

public int read(char[] cbuf,
                int off,
                int len)
         throws IOException
オーバーライド:
クラス SubReader 内の read
例外:
IOException

isWhitespace

public static boolean isWhitespace(int codePoint)
if codePoint is negative, returns false.

パラメータ:
codePoint -
戻り値:
true if the given code point is a whitespace


Copyright (c) 2008-2011 Masashi Nakanishi.