private static void processArgs(String[] args){
  for (int i=0; i < args.length; i++) {
    String arg=args[i];
    if (arg.equals("-o")) {
      outputDir=args[++i];
    }
 else     if (arg.equals("-spec")) {
      unicodeData=args[++i];
    }
 else     if (arg.equals("-language")) {
      language=args[++i];
    }
 else     if (arg.equals("-country")) {
      country=args[++i];
    }
 else     if (arg.equals("-valiant")) {
      valiant=args[++i];
    }
 else {
      usage();
    }
  }
  localeName=getLocaleName();
}

private static void processArgs ( String [ ] args ) { for ( int i = 0 ; i < args . length ; i ++ ) { String arg = args [ i ] ; if ( arg . equals ( "-o" ) ) { outputDir = args [ ++ i ] ; } else if ( arg . equals ( "-spec" ) ) { unicodeData = args [ ++ i ] ; } else if ( arg . equals ( "-language" ) ) { language = args [ ++ i ] ; } else if ( arg . equals ( "-country" ) ) { country = args [ ++ i ] ; } else if ( arg . equals ( "-valiant" ) ) { valiant = args [ ++ i ] ; } else { usage ( ) ; } } localeName = getLocaleName ( ) ; }
parses the specified arguments and sets up the variables .
