Package edu.umd.cs.findbugs
Class HTMLBugReporter
- java.lang.Object
-
- edu.umd.cs.findbugs.AbstractBugReporter
-
- edu.umd.cs.findbugs.TextUIBugReporter
-
- edu.umd.cs.findbugs.BugCollectionBugReporter
-
- edu.umd.cs.findbugs.HTMLBugReporter
-
- All Implemented Interfaces:
Debug
,RepositoryLookupFailureCallback
,BugReporter
,IClassObserver
,IErrorLogger
,ConfigurableBugReporter
public class HTMLBugReporter extends BugCollectionBugReporter
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class edu.umd.cs.findbugs.AbstractBugReporter
AbstractBugReporter.Error
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Exception
fatalException
private java.lang.String
stylesheet
-
Fields inherited from class edu.umd.cs.findbugs.TextUIBugReporter
OTHER_CATEGORY_ABBREV, outputStream
-
Fields inherited from interface edu.umd.cs.findbugs.BugReporter
NORMAL, SILENT
-
Fields inherited from interface edu.umd.cs.findbugs.ba.Debug
VERIFY_INTEGRITY
-
-
Constructor Summary
Constructors Constructor Description HTMLBugReporter(Project project, java.lang.String stylesheet)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
finish()
Finish reporting bugs.java.lang.Exception
getFatalException()
private static java.io.InputStream
getStylesheetStream(java.lang.String stylesheet)
void
setStylesheet(java.lang.String stylesheet)
-
Methods inherited from class edu.umd.cs.findbugs.BugCollectionBugReporter
doReportBug, emitLine, getBugCollection, getProject, getRealBugReporter, logError, logError, observeClass, reportMissingClass, reportMissingClass
-
Methods inherited from class edu.umd.cs.findbugs.TextUIBugReporter
checkBugInstance, getUseLongBugCodes, isApplySuppressions, printBug, reportAnalysisError, reportMissingClass, reportQueuedErrors, setApplySuppressions, setOutputStream, setReportHistory, setReportStackTrace, setShowRank, setUseLongBugCodes, setWriter
-
Methods inherited from class edu.umd.cs.findbugs.AbstractBugReporter
addObserver, getMissingClasses, getMissingClassName, getProjectStats, getQueuedErrors, isRelaxed, isValidMissingClassMessage, notifyObservers, reportBug, reportBugsFromXml, reportSkippedAnalysis, setErrorVerbosity, setIsRelaxed, setPriorityThreshold, setRankThreshold
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface edu.umd.cs.findbugs.BugReporter
addObserver, getProjectStats, reportBug, setErrorVerbosity, setPriorityThreshold
-
Methods inherited from interface edu.umd.cs.findbugs.ConfigurableBugReporter
setRankThreshold
-
Methods inherited from interface edu.umd.cs.findbugs.classfile.IErrorLogger
reportSkippedAnalysis
-
-
-
-
Constructor Detail
-
HTMLBugReporter
public HTMLBugReporter(Project project, java.lang.String stylesheet)
-
-
Method Detail
-
setStylesheet
public void setStylesheet(java.lang.String stylesheet)
-
finish
public void finish()
Description copied from interface:BugReporter
Finish reporting bugs. If any bug reports have been queued, calling this method will flush them.- Specified by:
finish
in interfaceBugReporter
- Overrides:
finish
in classBugCollectionBugReporter
-
getFatalException
public java.lang.Exception getFatalException()
-
getStylesheetStream
private static java.io.InputStream getStylesheetStream(java.lang.String stylesheet) throws java.io.IOException
- Throws:
java.io.IOException
-
-