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

フィールドの概要
 
クラス org.apache.lucene.analysis.CharFilter から継承されたフィールド
input
 
クラス java.io.Reader から継承されたフィールド
lock
 
インタフェース org.aminds.lucene.analysis.ReusableCharFilter から継承されたフィールド
EMPTY_CHAR_STREAM
 
コンストラクタの概要
protected SubReader()
           
 
メソッドの概要
abstract  boolean canStart(Reader in)
          Judge it appropriate to start to read this fragment.
 void close()
           
 int currentOffset()
           
 void end(int at)
           
 void mark(int readAheadLimit)
           
 boolean markSupported()
           
 int read(char[] cbuf, int off, int len)
           
 void reset()
           
 boolean reset(CharStream in)
          Reset the contained CharStream.
 
クラス 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
 

コンストラクタの詳細

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.