/** * A convenience method to download multiple objects from S3 to pre-existing output streams, which * is particularly useful for downloading objects to files. * * @param bucketName * name of the bucket containing the objects * @param downloadPackages * an array of download package objects that manage the output of data for an object. * * @throws ServiceException */ public void downloadObjects(String bucketName, final DownloadPackage[] downloadPackages) throws ServiceException { downloadObjects(bucketName, downloadPackages, null); }
/** * A convenience method to download multiple objects from S3 to pre-existing output streams, which * is particularly useful for downloading objects to files. * * @param bucketName * name of the bucket containing the objects * @param downloadPackages * an array of download package objects that manage the output of data for an object. * * @throws ServiceException */ public void downloadObjects(String bucketName, final DownloadPackage[] downloadPackages) throws ServiceException { downloadObjects(bucketName, downloadPackages, null); }