Package com.amazonaws.services.glacier.transfer

Examples of com.amazonaws.services.glacier.transfer.ArchiveTransferManager.download()


                // ArchiveTransferManager(dlClient,
                // dlCredentials);
                ArchiveTransferManager atm = new ArchiveTransferManager(
                    dlClient, dlSQS, dlSNS);

                atm.download("-", vaultName, archiveId, outFile);

                JOptionPane.showMessageDialog(
                    null,
                    "Sucessfully downloaded "
                        + outFile.toString(),
View Full Code Here


  }

  public void download(final String vaultName, final String archiveId, final File targetFile) {
    log.info("Downloading archive " + archiveId + " from vault " + vaultName + "...");
    final ArchiveTransferManager atm = new ArchiveTransferManager(client, sqs, sns);
    atm.download(vaultName, archiveId, targetFile);
    log.info("Archive downloaded to " + targetFile);
  }

  @Override
  public void exec(OptionSet options, GlacierUploaderOptionParser optionParser) {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.