runs the given tool by tool #run string , after parsing with the given generic arguments . uses the given configuration , or builds one if null . sets the tool 's configuration with the possibly modified version of the conf . concode_field_sep PlaceHolder placeHolder concode_field_sep void printGenericCommandUsage
int function ( Configuration arg0 , Tool arg1 , String [ ] arg2 ) { if ( arg0 == null ) { arg0 = new Configuration ( ) ; } GenericOptionsParser loc0 = new GenericOptionsParser ( arg0 , arg2 ) ; arg1 . setConf ( arg0 ) ; String [ ] loc1 = loc0 . getRemainingArgs ( ) ; return arg1 . run ( loc1 ) ; }