public class DbxFileProvider
extends org.apache.commons.vfs2.provider.AbstractOriginatingFileProvider
This class coordinates the whole Dropbox functionality used by VFS2.
Constructor and Description |
---|
DbxFileProvider()
Constructor method.
|
DbxFileProvider(Object appinfo,
Object reqconfig,
VFSLib vfslib)
Constructor method.
|
Modifier and Type | Method and Description |
---|---|
com.dropbox.core.DbxAppInfo |
getAppInfo()
Provides the provider's Dropbox application info.
|
Collection<org.apache.commons.vfs2.Capability> |
getCapabilities()
Provides the provider's capabilities.
|
org.apache.commons.vfs2.FileSystemConfigBuilder |
getConfigBuilder()
Provides the builder instance responsible for proper file system options.
|
com.dropbox.core.DbxRequestConfig |
getRequestConfig()
Provides the provider's Dropbox request configuration.
|
findFile
close, closeFileSystem, createFileSystem, freeUnusedResources, parseUri
public DbxFileProvider()
public DbxFileProvider(Object appinfo, Object reqconfig, VFSLib vfslib)
appinfo
- The Dropbox application info (type is com.dropbox.core.DbxAppInfo
)reqconfig
- The Dropbox request configuration (type is com.dropbox.core.DbxRequestConfig
)vfslib
- The parental objectNullPointerException
- If parameters are null
IllegalArgumentException
- If a parameter is not of the expected typepublic com.dropbox.core.DbxAppInfo getAppInfo()
public com.dropbox.core.DbxRequestConfig getRequestConfig()
public org.apache.commons.vfs2.FileSystemConfigBuilder getConfigBuilder()
getConfigBuilder
in interface org.apache.commons.vfs2.provider.FileProvider
getConfigBuilder
in class org.apache.commons.vfs2.provider.AbstractFileProvider
public Collection<org.apache.commons.vfs2.Capability> getCapabilities()
Copyright © 2005-2024 Leisenfels GmbH. All rights reserved.