org.sonar.duplications.cpd
Class CPD
java.lang.Object
org.sonar.duplications.cpd.CPD
public class CPD
- extends java.lang.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(java.lang.String encoding)
setLoadSourceCodeSlices
public void setLoadSourceCodeSlices(boolean loadSourceCodeSlices)
go
public void go()
getMatches
public java.util.Iterator<Match> getMatches()
add
public void add(java.io.File file)
throws java.io.IOException
- Throws:
java.io.IOException
addAllInDirectory
public void addAllInDirectory(java.lang.String dir)
throws java.io.IOException
- Throws:
java.io.IOException
addRecursively
public void addRecursively(java.lang.String dir)
throws java.io.IOException
- Throws:
java.io.IOException
add
public void add(java.util.List<java.io.File> files)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2009-2010 SonarSource. All Rights Reserved.