@ Override public void run ( ) { MultipleObjectsBundle data = generator . loadData ( ) ; if ( LOG . isVerbose ( ) ) { LOG . verbose ( "Writing output ..." ) ; } try { if ( outputFile . exists ( ) && LOG . isVerbose ( ) ) { LOG . verbose ( "The file " + outputFile + " already exists, " + "the generator result will be APPENDED." ) ; } try ( OutputStreamWriter outStream = new FileWriter ( outputFile , true ) ) { writeClusters ( outStream , data ) ; } } catch ( IOException e ) { throw new AbortException ( "IO Error in data generator." , e ) ; } if ( LOG . isVerbose ( ) ) { LOG . verbose ( "Done." ) ; } }
Runs the wrapper with the specified arguments .