this convenience method allows to read a org.icefaces.apache.commons.fileupload.fileitemstream 's content into a string , using the given character encoding . concode_field_sep int DEFAULT_BUFFER_SIZE concode_field_sep long copy concode_elem_sep long copy
String function ( InputStream arg0 , String arg1 ) { ByteArrayOutputStream loc0 = new ByteArrayOutputStream ( ) ; copy ( arg0 , loc0 , true ) ; return loc0 . toString ( arg1 ) ; }