mirror of https://github.com/apache/lucene.git
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:
parent
9a9d138d8b
commit
93b9adc280
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue