public void run(String... args) throws BadArgs, IOException {
  PrintWriter out=new PrintWriter(System.out);
  try {
    run(out,args);
  }
  finally {
    out.flush();
  }
}

public void run ( String ... args ) throws BadArgs , IOException { PrintWriter out = new PrintWriter ( System . out ) ; try { run ( out , args ) ; } finally { out . flush ( ) ; } }
simple api entry point .
