org.apache.lucene.analysis
Class Tokenizer
public abstract class Tokenizer
A Tokenizer is a TokenStream whose input is a Reader.
This is an abstract class.
protected Reader | input- The text source for this Tokenizer.
|
Tokenizer()- Construct a tokenizer with null input.
|
Tokenizer(Reader input)- Construct a token stream processing the given input.
|
void | close()- By default, closes the input Reader.
|
input
protected Reader input
The text source for this Tokenizer.
Tokenizer
protected Tokenizer()
Construct a tokenizer with null input.
Tokenizer
protected Tokenizer(Reader input)
Construct a token stream processing the given input.
close
public void close()
throws IOExceptionBy default, closes the input Reader.
- close in interface TokenStream
Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.