net.sourceforge.pmd.cpd
Class CPD

java.lang.Object
  extended by net.sourceforge.pmd.cpd.CPD

public class CPD
extends java.lang.Object


Constructor Summary
CPD(CPDConfiguration theConfiguration)
           
 
Method Summary
 void add(DBURI dburi)
           
 void add(java.io.File file)
           
 void add(java.util.List<java.io.File> files)
           
 void addAllInDirectory(java.io.File dir)
           
 void addRecursively(java.io.File dir)
           
 java.util.Iterator<Match> getMatches()
           
 java.util.List<java.lang.String> getSourcePaths()
          List names/paths of each source to be processed.
 java.util.List<SourceCode> getSources()
          Get each Source to be processed.
 void go()
           
static void main(java.lang.String[] args)
           
 void setCpdListener(CPDListener cpdListener)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CPD

public CPD(CPDConfiguration theConfiguration)
Method Detail

setCpdListener

public void setCpdListener(CPDListener cpdListener)

go

public void go()

getMatches

public java.util.Iterator<Match> getMatches()

addAllInDirectory

public void addAllInDirectory(java.io.File dir)
                       throws java.io.IOException
Throws:
java.io.IOException

addRecursively

public void addRecursively(java.io.File 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

add

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

add

public void add(DBURI dburi)
         throws java.io.IOException
Throws:
java.io.IOException

getSourcePaths

public java.util.List<java.lang.String> getSourcePaths()
List names/paths of each source to be processed.

Returns:
names of sources to be processed

getSources

public java.util.List<SourceCode> getSources()
Get each Source to be processed.

Returns:
all Sources to be processed

main

public static void main(java.lang.String[] args)


Copyright © 2002-2015 InfoEther. All Rights Reserved.