net.sourceforge.pldoc.cpd
Class CPD

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

public class CPD
extends Object

PL/SQL CPD documentation generator.

Author:
Stuart Turton


Field Summary
 Settings settings
           
 
Constructor Summary
CPD(Settings settings)
          Constructor.
 
Method Summary
 void add(File file)
           
 void add(List<File> files)
           
 void addAllInDirectory(String dir)
           
 void addRecursively(String dir)
           
 Iterator<net.sourceforge.pmd.cpd.Match> getMatches()
           
 void go()
           
static void main(String[] args)
          All processing is via the main method
 void run()
          Runs CPD using the specified settings.
 void setCpdListener(net.sourceforge.pmd.cpd.CPDListener cpdListener)
          Processes a package.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

settings

public Settings settings
Constructor Detail

CPD

public CPD(Settings settings)
Constructor.

Method Detail

main

public static void main(String[] args)
                 throws Exception
All processing is via the main method

Throws:
Exception

run

public void run()
         throws Exception
Runs CPD using the specified settings. 2006-05-16 - Matthias Hendler - Collect some status information during the processing and add them to the application.xml. More verbose output to console added.

Throws:
Exception

setCpdListener

public void setCpdListener(net.sourceforge.pmd.cpd.CPDListener cpdListener)
Processes a package. 2006-05-16 - Matthias Hendler - Rewritten exception handling and methode signature.

Parameters:
packageSpec - Package specification to parse
xmlOut - XML writer
pPackageName - The name of the package which is processed
Throws:
SystemExitException - Thrown if an error occurred and the user specified the halt on errors option. All other throwables will be caught.

go

public void go()

getMatches

public Iterator<net.sourceforge.pmd.cpd.Match> getMatches()

add

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

addAllInDirectory

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

addRecursively

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

add

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


Copyright © 2012. All Rights Reserved.