saves a bundle from the given inputstream . the bundle is placed in the specified bundle directory . since the inputstream does not contain a name , the name of the resultant file must also be provided . concode_field_sep ConfigurationService configurationService concode_elem_sep String bundleDir concode_field_sep void init concode_elem_sep String getBundleDir concode_elem_sep void setBundleDir concode_elem_sep File saveBundleFile concode_elem_sep boolean removeBundle
File function ( String arg0 , InputStream arg1 ) { File loc0 = new File ( bundleDir , arg0 ) ; try ( OutputStream loc1 = FileUtils . openOutputStream ( loc0 ) ) { IOUtils . copy ( arg1 , loc1 ) ; return loc0 ; } }