org.sonar.duplications.cpd
Class CPD

java.lang.Object
  extended by org.sonar.duplications.cpd.CPD

public class CPD
extends Object


Field Summary
static boolean debugEnable
           
 
Constructor Summary
CPD(int minimumTileSize, net.sourceforge.pmd.cpd.Language language)
           
 
Method Summary
 void add(File file)
           
 void add(List<File> files)
           
 void addAllInDirectory(String dir)
           
 void addRecursively(String dir)
           
 Iterator<Match> getMatches()
           
 void go()
           
 void setCpdListener(net.sourceforge.pmd.cpd.CPDListener cpdListener)
           
 void setEncoding(String encoding)
           
 void setLoadSourceCodeSlices(boolean loadSourceCodeSlices)
           
 void skipDuplicates()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

debugEnable

public static boolean debugEnable
Constructor Detail

CPD

public CPD(int minimumTileSize,
           net.sourceforge.pmd.cpd.Language language)
Method Detail

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-2011 SonarSource. All Rights Reserved.