PropertySource, Rendererpublic class CSVRenderer extends AbstractIncrementingRenderer
| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String |
NAME |
configErrors, errors, suppressedpropertyDescriptors, propertyValuesByDescriptordescription, name, showSuppressedViolations, writer| Constructor | Description |
|---|---|
CSVRenderer() |
|
CSVRenderer(ColumnDescriptor<RuleViolation>[] columns,
java.lang.String theSeparator,
java.lang.String theCR) |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
defaultFileExtension() |
Return the default filename extension to use.
|
java.lang.String |
dysfunctionReason() |
We can't show any violations if we don't have any visible columns.
|
void |
renderFileViolations(java.util.Iterator<RuleViolation> violations) |
Render a series of
RuleViolations. |
void |
start() |
This method is called before any source files are processed.
|
end, renderFileReport, startFileAnalysiscopyPropertyDescriptors, copyPropertyValues, definePropertyDescriptor, getPropertiesByPropertyDescriptor, getProperty, getPropertyDescriptor, getPropertyDescriptors, hasDescriptor, ignoredProperties, setProperty, setProperty, useDefaultValueFor, usesDefaultValuesflush, getDescription, getName, getWriter, isShowSuppressedViolations, setDescription, setName, setShowSuppressedViolations, setWriterclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdefinePropertyDescriptor, getPropertiesByPropertyDescriptor, getProperty, getPropertyDescriptor, getPropertyDescriptors, hasDescriptor, ignoredProperties, setProperty, setProperty, useDefaultValueFor, usesDefaultValuespublic static final java.lang.String NAME
public CSVRenderer(ColumnDescriptor<RuleViolation>[] columns, java.lang.String theSeparator, java.lang.String theCR)
public CSVRenderer()
public void start()
throws java.io.IOException
Rendererstart in interface Rendererstart in class AbstractIncrementingRendererjava.io.IOExceptionpublic java.lang.String defaultFileExtension()
Rendererpublic void renderFileViolations(java.util.Iterator<RuleViolation> violations) throws java.io.IOException
AbstractIncrementingRendererRuleViolations.renderFileViolations in class AbstractIncrementingRendererviolations - The iterator of violations to render.java.io.IOExceptionpublic java.lang.String dysfunctionReason()
dysfunctionReason in interface PropertySourcedysfunctionReason in class AbstractPropertySourcePropertySource.dysfunctionReason()Copyright © 2002–2018 PMD. All rights reserved.