org.aminds.lucene.analysis
クラス SubReader
java.lang.Object
java.io.Reader
org.apache.lucene.analysis.CharStream
org.apache.lucene.analysis.CharFilter
org.aminds.lucene.analysis.SubReader
- すべての実装されたインタフェース:
- Closeable, Readable, ReusableCharFilter
- 直系の既知のサブクラス:
- CodePointBasedSubReader
public abstract class SubReader
- extends CharFilter
- implements ReusableCharFilter
- 作成者:
- Masashi Nakanishi
| クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SubReader
protected SubReader()
canStart
public abstract boolean canStart(Reader in)
throws IOException
- Judge it appropriate to start to read this fragment.
- 戻り値:
- true if it can start
- 例外:
IOException
end
public void end(int at)
throws IOException
- 例外:
IOException
currentOffset
public int currentOffset()
close
public void close()
throws IOException
- 定義:
- インタフェース
Closeable 内の close - オーバーライド:
- クラス
CharFilter 内の close
- 例外:
IOException
read
public int read(char[] cbuf,
int off,
int len)
throws IOException
- オーバーライド:
- クラス
CharFilter 内の read
- 例外:
IOException
markSupported
public boolean markSupported()
- オーバーライド:
- クラス
CharFilter 内の markSupported
mark
public void mark(int readAheadLimit)
throws IOException
- オーバーライド:
- クラス
CharFilter 内の mark
- 例外:
IOException
reset
public void reset()
throws IOException
- オーバーライド:
- クラス
CharFilter 内の reset
- 例外:
IOException
reset
public boolean reset(CharStream in)
throws IOException
- インタフェース
ReusableCharFilter の記述:
- Reset the contained CharStream. Note that this method does neither invoke
reset() nor close() method of
the underlying CharStream,
while CharFilter.reset() does invoke
reset() of the underlying.
- 定義:
- インタフェース
ReusableCharFilter 内の reset
- パラメータ:
in - a new Reader
- 例外:
IOException
Copyright (c) 2008-2011 Masashi Nakanishi.