org.sonar.duplications.cpd
Class CPD

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

public class CPD
extends Object


Constructor Summary
CPD(int minimumTileSize, 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(CPDListener cpdListener)
           
 void setEncoding(String encoding)
           
 void setLoadSourceCodeSlices(boolean loadSourceCodeSlices)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CPD

public CPD(int minimumTileSize,
           Language language)
Method Detail

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.