org.sonar.duplications.cpd
Class CPD

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

Deprecated. since 2.14, will be removed soon, and in any case should not be used for unit tests in Sonar plugins: instead of using this class for tests, you should test only your implementation of Tokenizer

@Deprecated
public class CPD
extends Object


Constructor Summary
CPD(int minimumTileSize, Language language)
          Deprecated.  
 
Method Summary
 void add(File file)
          Deprecated.  
 void add(List<File> files)
          Deprecated.  
 void addAllInDirectory(String dir)
          Deprecated.  
 void addRecursively(String dir)
          Deprecated.  
 Iterator<Match> getMatches()
          Deprecated.  
 void go()
          Deprecated.  
 void setCpdListener(CPDListener cpdListener)
          Deprecated.  
 void setEncoding(String encoding)
          Deprecated.  
 void setLoadSourceCodeSlices(boolean loadSourceCodeSlices)
          Deprecated.  
 
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)
Deprecated. 
Method Detail

setCpdListener

public void setCpdListener(CPDListener cpdListener)
Deprecated. 

setEncoding

public void setEncoding(String encoding)
Deprecated. 

setLoadSourceCodeSlices

public void setLoadSourceCodeSlices(boolean loadSourceCodeSlices)
Deprecated. 

go

public void go()
Deprecated. 

getMatches

public Iterator<Match> getMatches()
Deprecated. 

add

public void add(File file)
         throws IOException
Deprecated. 
Throws:
IOException

addAllInDirectory

public void addAllInDirectory(String dir)
                       throws IOException
Deprecated. 
Throws:
IOException

addRecursively

public void addRecursively(String dir)
                    throws IOException
Deprecated. 
Throws:
IOException

add

public void add(List<File> files)
         throws IOException
Deprecated. 
Throws:
IOException


Copyright © 2009-2012 SonarSource. All Rights Reserved.