Package amazon

Examples of amazon.AmazonS3Driver


  private AmazonS3Driver driver;

  public AmazonAccessor(int clientId, String accessKey, String secretKey){


    this.driver = new AmazonS3Driver("cloud1", accessKey, secretKey);
    try {
      driver.initSession();
    } catch (StorageCloudException e) {
      e.printStackTrace();
    }
View Full Code Here


   * @return an object IDepSkyDriver that contains the cloud access for one cloud type
   */
  public static IDepSkySDriver getDriver(String type, String driverId, String accessKey, String secretKey){
   
    if(type.equals("AMAZON-S3")){
      return new AmazonS3Driver(driverId, accessKey, secretKey);
    }else if(type.equals("GOOGLE-STORAGE")){
      return new GoogleStorageDriver(driverId, accessKey, secretKey);
    }else if(type.equals("WINDOWS-AZURE")){
      return new WindowsAzureDriver(driverId, accessKey, secretKey);
    }else if(type.equals("RACKSPACE")){
View Full Code Here

TOP

Related Classes of amazon.AmazonS3Driver

Copyright © 2018 www.massapicom. 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.