public static void copy ( InputStream is , File file ) throws IOException { Asserts . notNullParameter ( "is" , is ) ; Asserts . notNullParameter ( "file" , file ) ; FileOutputStream os = null ; os = new FileOutputStream ( file ) ; copy ( is , os ) ; }
save data from the specified input stream to file