org.sonar.duplications.cpd
Class CPD
java.lang.Object
org.sonar.duplications.cpd.CPD
public class CPD
- extends Object
Constructor Summary |
CPD(int minimumTileSize,
Language language)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CPD
public CPD(int minimumTileSize,
Language language)
setCpdListener
public void setCpdListener(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-2012 SonarSource. All Rights Reserved.