net.sf.eos.analyzer
Interface ResettableTokenizer

All Superinterfaces:
Tokenizer
All Known Implementing Classes:
ResettableTokenFilter, SentenceTokenizer, WhitespaceTokenizer

public interface ResettableTokenizer
extends Tokenizer

Implementation that are prepared for reuse should implement this interface.

Author:
Sascha Kohlmann
See Also:
ResettableTokenFilter

Method Summary
 void reset(CharSequence input)
          Inits the tokenizer with new input data.
 
Methods inherited from interface net.sf.eos.analyzer.Tokenizer
next
 

Method Detail

reset

void reset(CharSequence input)
           throws TokenizerException
Inits the tokenizer with new input data.

Parameters:
input - represents new input data for the tokenizer.
Throws:
TokenizerException


Copyright © 2008. All Rights Reserved.