public class GDriveFileSystemConfigBuilder
extends org.apache.commons.vfs2.FileSystemConfigBuilder
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ACCESS_TOKEN
Variable name.
|
static java.lang.String |
DISPLAY_NAME
Variable name.
|
protected static GDriveFileSystemConfigBuilder |
sharedInstance
Shared
DbxFileSystemConfigBuilder instance. |
static java.lang.String |
USE_TRASH
Variable name.
|
protected VFSLib |
vfsLib
The parental object.
|
| Constructor and Description |
|---|
GDriveFileSystemConfigBuilder()
Constructor method.
|
GDriveFileSystemConfigBuilder(VFSLib vfslib)
Constructor method.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAccessToken(org.apache.commons.vfs2.FileSystemOptions options)
Getter for Google® Drive access token.
|
java.lang.String |
getAccountDisplayName(org.apache.commons.vfs2.FileSystemOptions options)
Getter for Google® Drive account display name.
|
protected java.lang.Class<? extends org.apache.commons.vfs2.FileSystem> |
getConfigClass()
Provides the file system class to be configured by this builder.
|
static GDriveFileSystemConfigBuilder |
getSharedInstance()
Provides the shared instance of the factory implementation.
|
java.lang.Boolean |
getUseTrash(org.apache.commons.vfs2.FileSystemOptions options)
Getter for delete mode: put into trash (may be restored) or delete permanantly.
|
void |
setAccessToken(org.apache.commons.vfs2.FileSystemOptions options,
java.lang.String token)
Setter for Google® Drive access token.
|
void |
setAccountDisplayName(org.apache.commons.vfs2.FileSystemOptions options,
java.lang.String name)
Setter for Google® Drive account display name.
|
void |
setUseTrash(org.apache.commons.vfs2.FileSystemOptions options,
java.lang.Boolean trash)
Setter for delete mode: put into trash (may be restored) or delete permanantly.
|
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 GDriveFileSystemConfigBuilder sharedInstance
DbxFileSystemConfigBuilder instance.public static final java.lang.String DISPLAY_NAME
public static final java.lang.String ACCESS_TOKEN
public static final java.lang.String USE_TRASH
protected VFSLib vfsLib
public GDriveFileSystemConfigBuilder()
VFSLib class and its resource bundle.
public GDriveFileSystemConfigBuilder(VFSLib vfslib)
vfslib - The parental object, shared instance if nullpublic static GDriveFileSystemConfigBuilder 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 setAccessToken(org.apache.commons.vfs2.FileSystemOptions options,
java.lang.String token)
options - The optionstoken - The access tokenpublic java.lang.String getAccessToken(org.apache.commons.vfs2.FileSystemOptions options)
options - The optionsnullpublic void setUseTrash(org.apache.commons.vfs2.FileSystemOptions options,
java.lang.Boolean trash)
options - The optionstrash - Put into trash?public java.lang.Boolean getUseTrash(org.apache.commons.vfs2.FileSystemOptions options)
options - The optionsnull.Copyright © 2005-2013 Leisenfels UG. All rights reserved.