public class FtpSystemReportFormatter extends AbstractSystemReportFormatter implements SystemReportFormatter
m_outputStream
Constructor and Description |
---|
FtpSystemReportFormatter() |
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 |
write(SystemReportPlugin plugin)
Write the data from the specified
SystemReportPlugin . |
compareTo, getOutput, getOutputStream, getResourceText, hasDisplayable, isDisplayable, isFile, setOutput, setOutputStream
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setOutput, setOutputStream
compareTo
public String getName()
SystemReportFormatter
getName
in interface SystemReportFormatter
getName
in class AbstractSystemReportFormatter
public String getDescription()
SystemReportFormatter
getDescription
in interface SystemReportFormatter
getDescription
in class AbstractSystemReportFormatter
public String getContentType()
SystemReportFormatter
getContentType
in interface SystemReportFormatter
public String getExtension()
SystemReportFormatter
getExtension
in interface SystemReportFormatter
public boolean canStdout()
SystemReportFormatter
canStdout
in interface SystemReportFormatter
public boolean needsOutputStream()
SystemReportFormatter
needsOutputStream
in interface SystemReportFormatter
needsOutputStream
in class AbstractSystemReportFormatter
public void begin()
SystemReportFormatter
begin
in interface SystemReportFormatter
begin
in class AbstractSystemReportFormatter
public void write(SystemReportPlugin plugin)
SystemReportFormatter
SystemReportPlugin
.write
in interface SystemReportFormatter
write
in class AbstractSystemReportFormatter
plugin
- the system report plugin which contains the data to writepublic void end()
SystemReportFormatter
end
in interface SystemReportFormatter
end
in class AbstractSystemReportFormatter
Copyright © 2020. All rights reserved.