public class CSVRenderer extends AbstractIncrementingRenderer
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME |
errors, suppressed
description, name, propertyDefinitions, showSuppressedViolations, writer
propertyDescriptors, propertyValuesByDescriptor
Constructor and Description |
---|
CSVRenderer() |
CSVRenderer(ColumnDescriptor<RuleViolation>[] columns,
java.lang.String theSeparator,
java.lang.String theCR) |
Modifier and Type | Method and 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
RuleViolation s. |
void |
start()
This method is called before any source files are processed.
|
end, renderFileReport, startFileAnalysis
defineProperty, flush, getDescription, getName, getPropertyDefinitions, getWriter, isShowSuppressedViolations, setDescription, setName, setShowSuppressedViolations, setWriter
copyPropertyDescriptors, copyPropertyValues, definePropertyDescriptor, getPropertiesByPropertyDescriptor, getProperty, getPropertyDescriptor, getPropertyDescriptors, hasDescriptor, ignoredProperties, setProperty, useDefaultValueFor, usesDefaultValues
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
definePropertyDescriptor, getPropertiesByPropertyDescriptor, getProperty, getPropertyDescriptor, getPropertyDescriptors, hasDescriptor, ignoredProperties, setProperty, useDefaultValueFor, usesDefaultValues
public 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
start
in interface Renderer
start
in class AbstractIncrementingRenderer
java.io.IOException
public java.lang.String defaultFileExtension()
Renderer
public void renderFileViolations(java.util.Iterator<RuleViolation> violations) throws java.io.IOException
RuleViolation
s.renderFileViolations
in class AbstractIncrementingRenderer
violations
- The iterator of violations to render.java.io.IOException
public java.lang.String dysfunctionReason()
dysfunctionReason
in interface PropertySource
dysfunctionReason
in class AbstractPropertySource
PropertySource.dysfunctionReason()
Copyright © 2002-2014 InfoEther. All Rights Reserved.