public class CpdRunnerImpl extends java.lang.Object implements CpdRunner
| Constructor and Description |
|---|
CpdRunnerImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
runCpd(java.util.Collection<java.io.File> pFiles,
java.io.File pReportFile,
java.lang.String pReportFormat,
CpdParameters pParameters)
Perform copy-paste analysis on a collection of files and write a report with the result.
|
public void runCpd(java.util.Collection<java.io.File> pFiles,
java.io.File pReportFile,
java.lang.String pReportFormat,
CpdParameters pParameters)
throws java.io.IOException
CpdRunnerrunCpd in interface CpdRunnerpFiles - The files to analyze.pReportFile - The file to write the report to.pReportFormat - The format of the report, see CpdReports.pParameters - The parameters to configure CPD with.java.io.IOException - if accessing the files to analyze fails, or if the report cannot be
written.