|
|||||||||||||||||||
| Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
| Renderer.java | - | - | - | - |
|
||||||||||||||
| 1 | /** | |
| 2 | * BSD-style license; for more info see http://pmd.sourceforge.net/license.html | |
| 3 | */ | |
| 4 | package net.sourceforge.pmd.renderers; | |
| 5 | ||
| 6 | import java.io.IOException; | |
| 7 | import java.io.Writer; | |
| 8 | ||
| 9 | import net.sourceforge.pmd.Report; | |
| 10 | ||
| 11 | public interface Renderer { | |
| 12 | ||
| 13 | void showSuppressedViolations(boolean show); | |
| 14 | ||
| 15 | /** | |
| 16 | * | |
| 17 | * @deprecated This method consumes too much memory. | |
| 18 | * Use the render method with the Writer argument instead. | |
| 19 | * | |
| 20 | */ | |
| 21 | String render(Report report); | |
| 22 | ||
| 23 | void render(Writer writer, Report report) throws IOException; | |
| 24 | ||
| 25 | } |
|
||||||||||