public class CPD extends Object
| Constructor and Description |
|---|
CPD(CPDConfiguration theConfiguration) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(DBURI dburi) |
void |
add(File file) |
void |
add(List<File> files) |
void |
addAllInDirectory(String dir) |
void |
addRecursively(String dir) |
Iterator<Match> |
getMatches() |
List<String> |
getSourcePaths()
List names/paths of each source to be processed.
|
List<SourceCode> |
getSources()
Get each Source to be processed.
|
void |
go() |
static void |
main(String[] args) |
void |
setCpdListener(CPDListener cpdListener) |
public CPD(CPDConfiguration theConfiguration)
public void setCpdListener(CPDListener cpdListener)
public void go()
public void addAllInDirectory(String dir) throws IOException
IOExceptionpublic void addRecursively(String dir) throws IOException
IOExceptionpublic void add(List<File> files) throws IOException
IOExceptionpublic void add(File file) throws IOException
IOExceptionpublic void add(DBURI dburi) throws IOException
IOExceptionpublic List<String> getSourcePaths()
public List<SourceCode> getSources()
public static void main(String[] args)
Copyright © 2002-2014 InfoEther. All Rights Reserved.