private static String convertArgs ( String [ ] args ) { StringBuilder result = new StringBuilder ( ) ; for ( int i = 0 ; i < args . length ; i ++ ) { result . append ( args [ i ] ) ; if ( i < args . length - 1 ) { result . append ( ' ' ) ; } } return result . toString ( ) . toUpperCase ( ) ; }
Converts an arguments array into a single String of words separated by spaces .