code: public static void main(String[] args) {
          if (args.length < 2) {
              usage();
              System.exit(1);
          }
  
          String jarPath = args[0];
          String outputDirPath = args[1];
          
          String[] filters;
          if (args.length == 2) {
              filters = new String[]{".*"};
          } else {
              filters = new String[args.length-2];
              System.arraycopy(args, 2, filters, 0, filters.length);
          }
          
          System.exit(convert(jarPath, outputDirPath, filters));
      }
docs: Converts a ResourceBundle to a *.nlsprops file.
  The first argument should be a path to a JAR file that contains the ResourceBundle(s) to
  convert. The second argument should be a path to the output nlsprops file.
  Additional arguments can be regular expressions to indicate which ResouceBundle(s) to
  convert.
  <br/>
  Here is an example of how to use this method:
  <br/>
  java com.ibm.ws.i18n.conversion.tools.ConvertRBtoNLSProps /path/to/openSource.jar /path/to/myProps.nlsprops org.my.open.src.i18n.*
  
  This will pull any ResourceBundles classes from the org.my.open.src.i18n package (and any sub packages) in the openSource.jar
  and will convert them to nlsprops format in the myProps.nlsprops file.
  
  @param args - args[0] must be a valid path to a JAR file
  args[1] must be a valid path to an output directory (i.e. /path/to/myNLSFiles)
  args[2] (and beyond) are optional, and can specify which packages inside the jar to search