net.sourceforge.pmd.cpd
Class CPD
java.lang.Object
net.sourceforge.pmd.cpd.CPD
public class CPD
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CPD
public CPD(CPDConfiguration theConfiguration)
setCpdListener
public void setCpdListener(CPDListener cpdListener)
go
public void go()
getMatches
public Iterator<Match> getMatches()
addAllInDirectory
public void addAllInDirectory(File dir)
throws IOException
- Throws:
IOException
addRecursively
public void addRecursively(File dir)
throws IOException
- Throws:
IOException
add
public void add(List<File> files)
throws IOException
- Throws:
IOException
add
public void add(File file)
throws IOException
- Throws:
IOException
add
public void add(DBURI dburi)
throws IOException
- Throws:
IOException
getSourcePaths
public List<String> getSourcePaths()
- List names/paths of each source to be processed.
- Returns:
- names of sources to be processed
getSources
public List<SourceCode> getSources()
- Get each Source to be processed.
- Returns:
- all Sources to be processed
main
public static void main(String[] args)
Copyright © 2002-2016 InfoEther. All Rights Reserved.