Sorry, my main method is in another class called ProjectOneDriver. Here's the code for that:
public class ProjectOneDriver
{
/**
* The main program for the ProjectOneDriver class
*
*@param args The command line arguments
*@exception IOException Description of the Exception
*/
public static void main(
String[] args) throws IOException {
if(args.length==2){
AnalyzeFile af = new AnalyzeFile();
af.runApp(args);
}
else{
System.out.println("You need to enter the full path of the file" );
}
}
}
Hope this is enough info