net.sf.jour
Class PreProcessor

java.lang.Object
  extended by net.sf.jour.PreProcessor

public class PreProcessor
extends java.lang.Object

Created on 02.10.2004 Contributing Author(s): Misha Lifschitz (Inital implementation) Vlad Skarzhevskyy (Inital implementation)

Version:
$Revision: 67 $ ($Author: vlads $) $Date: 2007-10-10 18:49:54 -0400 (Wed, 10 Oct 2007) $
Author:
michaellif

Field Summary
 long countClasses
           
protected static Logger log
           
 long savedClasses
           
 
Constructor Summary
PreProcessor(java.util.Properties properties)
           
PreProcessor(java.lang.String[] args)
           
PreProcessor(java.lang.String configFileName, java.io.File in, java.io.File out, java.util.List classpath)
           
 
Method Summary
 long getCountClasses()
           
 long getCountCounstructors()
           
 long getCountMethods()
           
 long getSavedClasses()
           
 InstrumentorResults instrument(Entry entry, OutputWriter outputWriter)
           
 boolean isCopyClasses()
           
 boolean isCopyResources()
           
 boolean isUseSystemClassPath()
           
static void main(java.lang.String[] args)
           
 void process()
           
 void setCopyClasses(boolean copyClasses)
           
 void setCopyResources(boolean copyResources)
           
 void setUseSystemClassPath(boolean useSystemClassPath)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static final Logger log

savedClasses

public long savedClasses

countClasses

public long countClasses
Constructor Detail

PreProcessor

public PreProcessor(java.lang.String[] args)
             throws javassist.NotFoundException
Throws:
javassist.NotFoundException

PreProcessor

public PreProcessor(java.util.Properties properties)
             throws javassist.NotFoundException
Throws:
javassist.NotFoundException

PreProcessor

public PreProcessor(java.lang.String configFileName,
                    java.io.File in,
                    java.io.File out,
                    java.util.List classpath)
Method Detail

main

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

process

public void process()
             throws java.lang.Exception
Throws:
java.lang.Exception

instrument

public InstrumentorResults instrument(Entry entry,
                                      OutputWriter outputWriter)
                               throws java.io.IOException
Throws:
java.io.IOException

getCountCounstructors

public long getCountCounstructors()

getCountMethods

public long getCountMethods()

getSavedClasses

public long getSavedClasses()

getCountClasses

public long getCountClasses()

isCopyClasses

public boolean isCopyClasses()
Returns:
the copyClasses

setCopyClasses

public void setCopyClasses(boolean copyClasses)
Parameters:
copyClasses - the copyClasses to set

isCopyResources

public boolean isCopyResources()
Returns:
the copyResources

setCopyResources

public void setCopyResources(boolean copyResources)
Parameters:
copyResources - the copyResources to set

isUseSystemClassPath

public boolean isUseSystemClassPath()
Returns:
the useSystemClassPath

setUseSystemClassPath

public void setUseSystemClassPath(boolean useSystemClassPath)
Parameters:
useSystemClassPath - the useSystemClassPath to set


Copyright © 2004-2008 pyx4j.com. All Rights Reserved.