org.aminds.lucene.analysis
クラス SegmentalTokenizer
java.lang.Object
org.apache.lucene.util.AttributeSource
org.apache.lucene.analysis.TokenStream
org.apache.lucene.analysis.Tokenizer
org.aminds.lucene.analysis.SegmentalTokenizer
- すべての実装されたインタフェース:
- Closeable
public class SegmentalTokenizer
- extends Tokenizer
This tokenizer switches its behavior based on the character sequence that each sub-Reader supports, applying sub-Tokenizers
to parts of the original input stream.
Note that this class is thread-unsafe because Analyzer is responsible for multi-thread support.
- 作成者:
- Masashi Nakanishi
| クラス org.apache.lucene.util.AttributeSource から継承されたメソッド |
addAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, restoreState, toString |
SegmentalTokenizer
public SegmentalTokenizer(Reader input)
SegmentalTokenizer
public SegmentalTokenizer(AttributeSource.AttributeFactory factory,
Reader input)
SegmentalTokenizer
public SegmentalTokenizer(AttributeSource source,
Reader input)
register
public void register(SubReader reader,
Tokenizer tokenizer)
- パラメータ:
reader - tokenizer -
reset
public void reset(Reader in)
throws IOException
- オーバーライド:
- クラス
Tokenizer 内の reset
- 例外:
IOException
end
public void end()
throws IOException
- オーバーライド:
- クラス
TokenStream 内の end
- 例外:
IOException
close
public void close()
throws IOException
- 定義:
- インタフェース
Closeable 内の close - オーバーライド:
- クラス
Tokenizer 内の close
- 例外:
IOException
incrementToken
public boolean incrementToken()
throws IOException
- 定義:
- クラス
TokenStream 内の incrementToken
- 例外:
IOException
Copyright (c) 2008-2011 Masashi Nakanishi.