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
|
メソッドの概要 |
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)
|
| クラス 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.