Package net.sourceforge.pmd.cpd
Class CPD
- java.lang.Object
-
- net.sourceforge.pmd.cpd.CPD
-
public class CPD extends Object
Adapter for PMD 7. This exposes CPD interface of PMD 6 but runs PMD 7 under the hood.
-
-
Constructor Summary
Constructors Constructor Description CPD(CPDConfiguration configuration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(File file)
void
add(List<File> files)
void
addAllInDirectory(File dir)
void
addRecursively(File dir)
Iterator<Match>
getMatches()
void
go()
-
-
-
Constructor Detail
-
CPD
public CPD(CPDConfiguration configuration)
-
-
Method Detail
-
addAllInDirectory
public void addAllInDirectory(File dir) throws IOException
- Throws:
IOException
-
addRecursively
public void addRecursively(File dir) throws IOException
- Throws:
IOException
-
add
public void add(List<File> files) throws IOException
- Throws:
IOException
-
add
public void add(File file) throws IOException
- Throws:
IOException
-
go
public void go()
-
-