LUCENE-1099: Make Tokenizer.reset(Reader) public.

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@606865 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Doron Cohen 2007-12-26 09:21:46 +00:00
parent 9a9d138d8b
commit 93b9adc280
1 changed files with 2 additions and 2 deletions

View File

@ -44,10 +44,10 @@ public abstract class Tokenizer extends TokenStream {
input.close();
}
/** Reset the tokenizer to a new reader. Typically, an
/** Expert: Reset the tokenizer to a new reader. Typically, an
* analyzer (in its reusableTokenStream method) will use
* this to re-use a previously created tokenizer. */
protected void reset(Reader input) throws IOException {
public void reset(Reader input) throws IOException {
this.input = input;
}
}