edu.rice.cs.cunit
Class FileInstrumentor.Tool

java.lang.Object
  extended by edu.rice.cs.cunit.FileInstrumentor.Tool
Direct Known Subclasses:
TCFileInstrumentor.TCTool
Enclosing class:
FileInstrumentor

public static class FileInstrumentor.Tool
extends java.lang.Object

Class to perform the command line utility tasks.


Field Summary
protected  boolean _createBackups
           
protected  java.util.List<java.lang.String> _cunitFilters
           
protected  java.lang.String _cunitRtJarName
           
protected  java.lang.String _destRtJarName
           
protected  java.lang.String _instrumentorClassName
           
protected  boolean _instrumentRt
           
protected  java.util.List<java.lang.String> _parameters
           
protected  java.lang.String _sourceRtJarName
           
protected  java.util.Date _startDate
           
protected  java.lang.String _sysInstrumentorClassName
           
protected  boolean _unpackJars
           
 
Constructor Summary
FileInstrumentor.Tool()
           
 
Method Summary
protected  int checkArgs(java.lang.String[] args)
          Check the arguments, set the fields, and return the index of the first file.
protected  void help(java.io.PrintStream out)
          Print out a help message.
 void run(java.lang.String[] args)
          Run the file instrumentor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_startDate

protected java.util.Date _startDate

_createBackups

protected boolean _createBackups

_unpackJars

protected boolean _unpackJars

_instrumentRt

protected boolean _instrumentRt

_cunitRtJarName

protected java.lang.String _cunitRtJarName

_cunitFilters

protected java.util.List<java.lang.String> _cunitFilters

_destRtJarName

protected java.lang.String _destRtJarName

_sourceRtJarName

protected java.lang.String _sourceRtJarName

_instrumentorClassName

protected java.lang.String _instrumentorClassName

_sysInstrumentorClassName

protected java.lang.String _sysInstrumentorClassName

_parameters

protected java.util.List<java.lang.String> _parameters
Constructor Detail

FileInstrumentor.Tool

public FileInstrumentor.Tool()
Method Detail

run

public void run(java.lang.String[] args)
Run the file instrumentor.

Parameters:
args - command line arguments

checkArgs

protected int checkArgs(java.lang.String[] args)
Check the arguments, set the fields, and return the index of the first file.

Parameters:
args - command line arguments
Returns:
index of first file

help

protected void help(java.io.PrintStream out)
Print out a help message.

Parameters:
out - stream to output to