public class DbxFileSystemConfigBuilder
extends org.apache.commons.vfs2.FileSystemConfigBuilder
Modifier and Type | Field and Description |
---|---|
static String |
ACCESS_TOKEN
Access token.
|
static String |
DISPLAY_NAME
Display name.
|
Constructor and Description |
---|
DbxFileSystemConfigBuilder()
Constructor method.
|
Modifier and Type | Method and Description |
---|---|
String |
getAccessToken(org.apache.commons.vfs2.FileSystemOptions options)
Getter for Dropbox access token.
|
String |
getAccountDisplayName(org.apache.commons.vfs2.FileSystemOptions options)
Getter for Dropbox account display name.
|
static DbxFileSystemConfigBuilder |
getSharedInstance()
Provides the shared instance of the factory implementation.
|
void |
setAccessToken(org.apache.commons.vfs2.FileSystemOptions options,
String token)
Setter for Dropbox access token.
|
void |
setAccountDisplayName(org.apache.commons.vfs2.FileSystemOptions options,
String name)
Setter for Dropbox account display name.
|
public static final String DISPLAY_NAME
public static final String ACCESS_TOKEN
public DbxFileSystemConfigBuilder()
public static DbxFileSystemConfigBuilder getSharedInstance()
public void setAccountDisplayName(org.apache.commons.vfs2.FileSystemOptions options, String name)
options
- The optionsname
- The display namepublic String getAccountDisplayName(org.apache.commons.vfs2.FileSystemOptions options)
options
- The optionsnull
public void setAccessToken(org.apache.commons.vfs2.FileSystemOptions options, String token)
options
- The optionstoken
- The access tokenpublic String getAccessToken(org.apache.commons.vfs2.FileSystemOptions options)
options
- The optionsnull
Copyright © 2005-2024 Leisenfels GmbH. All rights reserved.