Package org.eclipse.mat.report
Interface IOutputter
-
- All Known Implementing Classes:
CSVOutputter
,HtmlOutputter
,HtmlPieChartRenderer
,OutputterBase
,TextOutputter
public interface IOutputter
Converts a result to a report. See extension point org.eclipse.mat.report.renderer
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
IOutputter.Context
Holds information which controls how to format a report.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
embedd(IOutputter.Context context, IResult result, java.io.Writer writer)
Add this result to the output.void
process(IOutputter.Context context, IResult result, java.io.Writer writer)
Write this result to the output, presuming the writer has just been opened.
-
-
-
Method Detail
-
embedd
void embedd(IOutputter.Context context, IResult result, java.io.Writer writer) throws java.io.IOException
Add this result to the output.- Parameters:
context
- the context, which controls how the output should be doneresult
- the result to be formattedwriter
- where the formatted output should go- Throws:
java.io.IOException
- if something went wrong writing this result
-
process
void process(IOutputter.Context context, IResult result, java.io.Writer writer) throws java.io.IOException
Write this result to the output, presuming the writer has just been opened.- Parameters:
context
- the context, which controls how the output should be doneresult
- the result to be formattedwriter
- where the formatted output should go- Throws:
java.io.IOException
- if something went wrong writing this result
-
-