org.opensolaris.opengrok.analysis.c
Class CAnalyzerFactory

java.lang.Object
  extended by org.opensolaris.opengrok.analysis.FileAnalyzerFactory
      extended by org.opensolaris.opengrok.analysis.c.CAnalyzerFactory

public class CAnalyzerFactory
extends FileAnalyzerFactory


Nested Class Summary
 
Nested classes/interfaces inherited from class org.opensolaris.opengrok.analysis.FileAnalyzerFactory
FileAnalyzerFactory.Matcher
 
Constructor Summary
CAnalyzerFactory()
           
 
Method Summary
protected  FileAnalyzer newAnalyzer()
          Create a new analyzer.
 void writeXref(java.io.InputStream in, java.io.Writer out, Annotation annotation, Project project)
          Write a cross referenced HTML file.
 
Methods inherited from class org.opensolaris.opengrok.analysis.FileAnalyzerFactory
getAnalyzer, getContentType, getGenre, getMagicStrings, getMatchers, getSuffixes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CAnalyzerFactory

public CAnalyzerFactory()
Method Detail

newAnalyzer

protected FileAnalyzer newAnalyzer()
Description copied from class: FileAnalyzerFactory
Create a new analyzer.

Overrides:
newAnalyzer in class FileAnalyzerFactory
Returns:
an analyzer

writeXref

public void writeXref(java.io.InputStream in,
                      java.io.Writer out,
                      Annotation annotation,
                      Project project)
               throws java.io.IOException
Description copied from class: FileAnalyzerFactory
Write a cross referenced HTML file. Reads the source from in.

Overrides:
writeXref in class FileAnalyzerFactory
Parameters:
in - input source
out - output xref writer
annotation - annotation for the file (could be null)
project - project the file belongs to (could be null)
Throws:
java.io.IOException - if an error occurs