public class PlainAnalyzer extends TextAnalyzer
FileAnalyzer.Genre| Modifier and Type | Field and Description |
|---|---|
protected char[] |
content |
protected Definitions |
defs |
protected int |
len |
ctags, project| Modifier | Constructor and Description |
|---|---|
protected |
PlainAnalyzer(FileAnalyzerFactory factory)
Creates a new instance of PlainAnalyzer
|
| Modifier and Type | Method and Description |
|---|---|
void |
analyze(org.apache.lucene.document.Document doc,
java.io.Reader in) |
org.apache.lucene.analysis.TokenStream |
tokenStream(java.lang.String fieldName,
java.io.Reader reader) |
void |
writeXref(java.io.Writer out)
Write a cross referenced HTML file.
|
analyzegetFactory, getGenre, setCtags, setProject, writeXrefprotected char[] content
protected int len
protected Definitions defs
protected PlainAnalyzer(FileAnalyzerFactory factory)
public void analyze(org.apache.lucene.document.Document doc,
java.io.Reader in)
throws java.io.IOException
analyze in class TextAnalyzerjava.io.IOExceptionpublic org.apache.lucene.analysis.TokenStream tokenStream(java.lang.String fieldName,
java.io.Reader reader)
tokenStream in class FileAnalyzerpublic void writeXref(java.io.Writer out)
throws java.io.IOException
writeXref in class FileAnalyzerout - Writer to write HTML cross-referencejava.io.IOException - if an error occurs