net.sourceforge.pmd.cpd
Class CPD
java.lang.Object
net.sourceforge.pmd.cpd.CPD
public class CPD
- extends java.lang.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 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.