public abstract class TextAnalyzer extends FileAnalyzer
FileAnalyzer.Genre
ctags, 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, writeXref
public TextAnalyzer(FileAnalyzerFactory factory)
public final void analyze(org.apache.lucene.document.Document doc, java.io.InputStream in) throws java.io.IOException
analyze
in class FileAnalyzer
java.io.IOException
protected abstract void analyze(org.apache.lucene.document.Document doc, java.io.Reader reader) throws java.io.IOException
java.io.IOException