javaclass = TifGenerator.capitalize(tool, true);
javaclass = TifGenerator.capitalize(tool, true) + "Tif";
  public static void main(String[] args)    throws IOException, ParseError  {    String tool = null, tifsfile = null;    String pkg = null, javaclass = null;    String output = null;    for(int i=0; i<args.length; i++) {      if(args[i].equals("-tool"))				tool = args[++i];      if(args[i].equals("-tifs"))				tifsfile = args[++i];      if(args[i].equals("-package"))				pkg = args[++i];      if(args[i].equals("-class"))				javaclass = args[++i];      if(args[i].equals("-output"))				output = args[++i];    }    if(tool == null || tifsfile == null)      System.err.println("usage: javatif -tool <tool> -tifs <tifs> " +			 "[-class <class>][-output <file>]" +			 "[-package <package>]");    else {      if(javaclass == null)        javaclass = TifGenerator.capitalize(tool, true);      TifGenerator gen = new TifGenerator();      gen.readTifs(tifsfile);      gen.selectTifs(tool);      gen.genJavaTif(pkg, javaclass);    }  }