org.sonar.duplications.cpd
Class CPD
java.lang.Object
org.sonar.duplications.cpd.CPD
public class CPD
- extends Object
Constructor Summary |
CPD(int minimumTileSize,
net.sourceforge.pmd.cpd.Language language)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
debugEnable
public static boolean debugEnable
CPD
public CPD(int minimumTileSize,
net.sourceforge.pmd.cpd.Language language)
skipDuplicates
public void skipDuplicates()
setCpdListener
public void setCpdListener(net.sourceforge.pmd.cpd.CPDListener cpdListener)
setEncoding
public void setEncoding(String encoding)
setLoadSourceCodeSlices
public void setLoadSourceCodeSlices(boolean loadSourceCodeSlices)
go
public void go()
getMatches
public Iterator<Match> getMatches()
add
public void add(File file)
throws IOException
- Throws:
IOException
addAllInDirectory
public void addAllInDirectory(String dir)
throws IOException
- Throws:
IOException
addRecursively
public void addRecursively(String dir)
throws IOException
- Throws:
IOException
add
public void add(List<File> files)
throws IOException
- Throws:
IOException
Copyright © 2009-2010 SonarSource. All Rights Reserved.