read the contents of a stream into a string attn : does not handle encodings concode_field_sep String EXECUTABLE_MODE concode_field_sep boolean createTempDirectory concode_elem_sep String getRelativePackagePath concode_elem_sep InputStream getRelativeURLAsStream concode_elem_sep boolean rmdir concode_elem_sep URL getRelativeURL concode_elem_sep boolean carryOnResult concode_elem_sep void write concode_elem_sep void makeExecutable
String function ( InputStream arg0 ) { try { StringBuffer loc0 = new StringBuffer ( ) ; byte [ ] loc1 = new byte [ 8192 ] ; int loc2 ; while ( ( loc2 = arg0 . read ( loc1 ) ) > 0 ) { loc0 . append ( new String ( loc1 , 0 , loc2 ) ) ; } return loc0 . toString ( ) ; } finally { arg0 . close ( ) ; } }