public class S3FileSystemConfigBuilder
extends org.apache.commons.vfs2.FileSystemConfigBuilder
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ACCESS_KEY_ID
Variable name.
|
static java.lang.String |
BUCKET_NAME
Variable name.
|
static java.lang.String |
DISPLAY_NAME
Variable name.
|
static java.lang.String |
SECRET_KEY
Variable name.
|
protected static S3FileSystemConfigBuilder |
sharedInstance
Shared
DbxFileSystemConfigBuilder instance. |
protected VFSLib |
vfsLib
The parental object.
|
| Constructor and Description |
|---|
S3FileSystemConfigBuilder()
Constructor method.
|
S3FileSystemConfigBuilder(VFSLib vfslib)
Constructor method.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAccessKeyID(org.apache.commons.vfs2.FileSystemOptions options)
Getter for Amazon® S3 access key ID.
|
java.lang.String |
getAccountDisplayName(org.apache.commons.vfs2.FileSystemOptions options)
Getter for Amazon® S3 account display name.
|
java.lang.String |
getBucketName(org.apache.commons.vfs2.FileSystemOptions options)
Getter for the name of the Amazon® S3 bucket.
|
protected java.lang.Class<? extends org.apache.commons.vfs2.FileSystem> |
getConfigClass()
Provides the file system class to be configured by this builder.
|
java.lang.String |
getSecretKey(org.apache.commons.vfs2.FileSystemOptions options)
Getter for Amazon® S3 secret key.
|
static S3FileSystemConfigBuilder |
getSharedInstance()
Provides the shared instance of the factory implementation.
|
void |
setAccessKeyID(org.apache.commons.vfs2.FileSystemOptions options,
java.lang.String token)
Setter for Amazon® S3 access key ID.
|
void |
setAccountDisplayName(org.apache.commons.vfs2.FileSystemOptions options,
java.lang.String name)
Setter for Amazon® S3 account display name.
|
void |
setBucketName(org.apache.commons.vfs2.FileSystemOptions options,
java.lang.String name)
Setter for the name of the Amazon® S3 bucket.
|
void |
setSecretKey(org.apache.commons.vfs2.FileSystemOptions options,
java.lang.String token)
Setter for Amazon® S3 secret key.
|
getBoolean, getBoolean, getBoolean, getByte, getByte, getByte, getCharacter, getCharacter, getCharacter, getDouble, getDouble, getDouble, getFloat, getFloat, getFloat, getInteger, getInteger, getInteger, getLong, getLong, getLong, getParam, getRootURI, getShort, getShort, getShort, getString, getString, hasObject, hasParam, setParam, setRootURIprotected static S3FileSystemConfigBuilder sharedInstance
DbxFileSystemConfigBuilder instance.public static final java.lang.String DISPLAY_NAME
public static final java.lang.String ACCESS_KEY_ID
public static final java.lang.String SECRET_KEY
public static final java.lang.String BUCKET_NAME
protected VFSLib vfsLib
public S3FileSystemConfigBuilder()
VFSLib class and its resource bundle.
public S3FileSystemConfigBuilder(VFSLib vfslib)
vfslib - The parental object, shared instance if nullpublic static S3FileSystemConfigBuilder getSharedInstance()
protected java.lang.Class<? extends org.apache.commons.vfs2.FileSystem> getConfigClass()
getConfigClass in class org.apache.commons.vfs2.FileSystemConfigBuilderpublic void setAccountDisplayName(org.apache.commons.vfs2.FileSystemOptions options,
java.lang.String name)
options - The optionsname - The display namepublic java.lang.String getAccountDisplayName(org.apache.commons.vfs2.FileSystemOptions options)
options - The optionsnullpublic void setAccessKeyID(org.apache.commons.vfs2.FileSystemOptions options,
java.lang.String token)
options - The optionstoken - The access key IDpublic java.lang.String getAccessKeyID(org.apache.commons.vfs2.FileSystemOptions options)
options - The optionsnullpublic void setSecretKey(org.apache.commons.vfs2.FileSystemOptions options,
java.lang.String token)
options - The optionstoken - The secret keypublic java.lang.String getSecretKey(org.apache.commons.vfs2.FileSystemOptions options)
options - The optionsnullpublic void setBucketName(org.apache.commons.vfs2.FileSystemOptions options,
java.lang.String name)
options - The optionsname - The display namepublic java.lang.String getBucketName(org.apache.commons.vfs2.FileSystemOptions options)
options - The optionsnullCopyright © 2005-2013 Leisenfels UG. All rights reserved.