org.opensolaris.opengrok.analysis.executables
Class JarAnalyzer
java.lang.Object
org.apache.lucene.analysis.Analyzer
org.opensolaris.opengrok.analysis.FileAnalyzer
org.opensolaris.opengrok.analysis.executables.JarAnalyzer
public class JarAnalyzer
- extends FileAnalyzer
Analyzes JAR, WAR, EAR (Java Archive) files.
Created on September 22, 2005
Method Summary |
void |
analyze(org.apache.lucene.document.Document doc,
java.io.InputStream 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. |
Methods inherited from class org.apache.lucene.analysis.Analyzer |
getPositionIncrementGap, getPreviousTokenStream, reusableTokenStream, setPreviousTokenStream |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JarAnalyzer
protected JarAnalyzer(FileAnalyzerFactory factory)
analyze
public void analyze(org.apache.lucene.document.Document doc,
java.io.InputStream in)
- Overrides:
analyze
in class FileAnalyzer
tokenStream
public org.apache.lucene.analysis.TokenStream tokenStream(java.lang.String fieldName,
java.io.Reader reader)
- Overrides:
tokenStream
in class FileAnalyzer
writeXref
public void writeXref(java.io.Writer out)
throws java.io.IOException
- Write a cross referenced HTML file.
- Overrides:
writeXref
in class FileAnalyzer
- Parameters:
out
- Writer to write HTML cross-reference
- Throws:
java.io.IOException
- if an error occurs