public static String getStringFromTokens ( final String [ ] tokens ) { final StringBuilder sb = new StringBuilder ( ) ; for ( final String tok : tokens ) { sb . append ( tok ) . append ( " " ) ; } return sb . toString ( ) . trim ( ) ; }
Gets the String joined by a space of an array of tokens .