public class S3ClientFactory
extends java.lang.Object
| Constructor and Description |
|---|
S3ClientFactory()
Constructor method (do not use).
|
| Modifier and Type | Method and Description |
|---|---|
static com.amazonaws.services.s3.AmazonS3Client |
createClient(org.apache.commons.vfs2.provider.GenericFileName root,
org.apache.commons.vfs2.FileSystemOptions options,
com.amazonaws.auth.BasicAWSCredentials credentials,
VFSLib vfslib)
Creates a new connection to the server.
|
public S3ClientFactory()
throws java.lang.InstantiationException
java.lang.InstantiationException - Error indicationpublic static com.amazonaws.services.s3.AmazonS3Client createClient(org.apache.commons.vfs2.provider.GenericFileName root,
org.apache.commons.vfs2.FileSystemOptions options,
com.amazonaws.auth.BasicAWSCredentials credentials,
VFSLib vfslib)
throws org.apache.commons.vfs2.FileSystemException
root - The file system rootoptions - The file system optionscredentials - The credentialsvfslib - The parental object, shared instance if nullorg.apache.commons.vfs2.FileSystemException - If an error occursCopyright © 2005-2013 Leisenfels UG. All rights reserved.