public interface SystemReportFormatter extends Comparable<SystemReportFormatter>
| Modifier and Type | Method and Description | 
|---|---|
void | 
begin()
Indicates that report output will begin. 
 | 
boolean | 
canStdout()
Whether this formatter should be allowed to write to STDOUT. 
 | 
void | 
end()
Indicates that report output will end. 
 | 
String | 
getContentType()
The Content-Type that this formatter outputs. 
 | 
String | 
getDescription()
A short description of the format. 
 | 
String | 
getExtension()
The default extension to use when creating files if no output
 is specified. 
 | 
String | 
getName()
A short name for this format for use by UIs when presenting
 an option of which formatter to choose. 
 | 
boolean | 
needsOutputStream()
Whether or not this formatter needs to be given an output stream. 
 | 
void | 
setOutput(String output)
The output string as passed on the command-line. 
 | 
void | 
setOutputStream(OutputStream stream)
The output stream to use when writing data. 
 | 
void | 
write(SystemReportPlugin plugin)
Write the data from the specified  
SystemReportPlugin. | 
compareToString getName()
String getDescription()
String getContentType()
String getExtension()
boolean needsOutputStream()
void setOutput(String output)
void setOutputStream(OutputStream stream)
stream - void write(SystemReportPlugin plugin)
SystemReportPlugin.plugin - the system report plugin which contains the data to writevoid begin()
void end()
boolean canStdout()
Copyright © 2021. All rights reserved.