public abstract class TextAnalyzer extends FileAnalyzer
FileAnalyzer.Genrectags, project| Constructor and Description |
|---|
TextAnalyzer(FileAnalyzerFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
void |
analyze(org.apache.lucene.document.Document doc,
java.io.InputStream in) |
protected abstract void |
analyze(org.apache.lucene.document.Document doc,
java.io.Reader reader) |
getFactory, getGenre, setCtags, setProject, tokenStream, writeXref, writeXrefpublic TextAnalyzer(FileAnalyzerFactory factory)
public final void analyze(org.apache.lucene.document.Document doc,
java.io.InputStream in)
throws java.io.IOException
analyze in class FileAnalyzerjava.io.IOExceptionprotected abstract void analyze(org.apache.lucene.document.Document doc,
java.io.Reader reader)
throws java.io.IOException
java.io.IOException