utility method to save inputstream data to target location/file concode_field_sep String UPLOAD_FOLDER concode_field_sep Response uploadFile concode_elem_sep void createFolderIfNotExists
void function ( InputStream arg0 , String arg1 ) { OutputStream loc0 = null ; int loc1 = 0 ; byte [ ] loc2 = new byte [ 1024 ] ; loc0 = new FileOutputStream ( new File ( arg1 ) ) ; while ( ( loc1 = arg0 . loc1 ( loc2 ) ) != - 1 ) { loc0 . write ( loc2 , 0 , loc1 ) ; } loc0 . flush ( ) ; loc0 . close ( ) ; }