public class PlainTextFormatter extends java.lang.Object implements InspectionsReportConverter
InspectionsReportConverter.ConversionException
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME |
EP_NAME
Constructor and Description |
---|
PlainTextFormatter() |
Modifier and Type | Method and Description |
---|---|
void |
convert(java.lang.String rawDataDirectoryPath,
java.lang.String outputPath,
java.util.Map<java.lang.String,Tools> tools,
java.util.List<? extends java.io.File> inspectionsResults) |
java.lang.String |
getFormatName() |
protected java.lang.String |
getPath(Element fileElement) |
protected java.lang.String |
getToolPresentableName(InspectionToolWrapper toolWrapper) |
boolean |
useTmpDirForRawData() |
protected void |
writeInspectionDescription(java.io.Writer w,
InspectionToolWrapper toolWrapper,
javax.xml.transform.Transformer transformer) |
public static final java.lang.String NAME
public java.lang.String getFormatName()
getFormatName
in interface InspectionsReportConverter
public boolean useTmpDirForRawData()
useTmpDirForRawData
in interface InspectionsReportConverter
public void convert(java.lang.String rawDataDirectoryPath, java.lang.String outputPath, java.util.Map<java.lang.String,Tools> tools, java.util.List<? extends java.io.File> inspectionsResults) throws InspectionsReportConverter.ConversionException
convert
in interface InspectionsReportConverter
rawDataDirectoryPath
- Original XML report folderoutputPath
- New report output path provided by user. If null use STDOUT.tools
- Inspections datainspectionsResults
- Files with inspection resultsInspectionsReportConverter.ConversionException
protected java.lang.String getPath(Element fileElement)
protected void writeInspectionDescription(java.io.Writer w, InspectionToolWrapper toolWrapper, javax.xml.transform.Transformer transformer) throws java.io.IOException, InspectionsReportConverter.ConversionException
java.io.IOException
InspectionsReportConverter.ConversionException
protected java.lang.String getToolPresentableName(InspectionToolWrapper toolWrapper) throws java.io.IOException
java.io.IOException