> +
> +{% highlight java %}
> +// Get a context with softlayer that offers the portable BlobStore API
> +BlobStoreContext context = ContextBuilder.newBuilder("swift")
> +                 .credentials("tenantName:accessKey", "apiKey)
> +                 
> .endpoint("https://ams01.objectstorage.softlayer.net/auth/v1.0";)
> +                 .buildView(BlobStoreContext.class);
> +
> +// Create a container in the default location
> +context.getBlobStore().createContainerInLocation(null, container);
> +
> +// Use the map interface for easy access to put/get things, keySet, etc.
> +context.createInputStreamMap(container).put("blob.txt", inputStream);
> +
> +// When you need access to hpcloud specific features, use the 
> provider-specific context
> +HPCloudObjectStorageClient hpcloudClient =

sorry, refuse. Removed.

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-site/pull/134/files#r18943498

Reply via email to