public final class DbxFileProvider
extends org.apache.commons.vfs2.provider.AbstractOriginatingFileProvider
| Modifier and Type | Field and Description |
|---|---|
protected static java.util.Collection<org.apache.commons.vfs2.Capability> |
capabilities
The provider's capabilities.
|
| Constructor and Description |
|---|
DbxFileProvider()
Constructor method (do not use).
|
DbxFileProvider(java.lang.Object appinfo,
java.lang.Object reqconfig,
VFSLib vfslib)
Constructor method.
|
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.commons.vfs2.FileSystem |
doCreateFileSystem(org.apache.commons.vfs2.FileName name,
org.apache.commons.vfs2.FileSystemOptions options)
Creates a Dropbox® file system.
|
com.dropbox.core.DbxAppInfo |
getAppInfo()
Provides the provider's Dropbox® application info.
|
java.util.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, findFile, getFileSystemaddFileSystem, close, closeFileSystem, createFileSystem, findFileSystem, freeUnusedResources, getFileNameParser, parseUri, setFileNameParseraddComponent, removeComponentprotected static final java.util.Collection<org.apache.commons.vfs2.Capability> capabilities
public DbxFileProvider()
throws java.lang.InstantiationException
java.lang.InstantiationException - Error indicationpublic DbxFileProvider(java.lang.Object appinfo,
java.lang.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 objectjava.lang.NullPointerException - If parameters are nulljava.lang.IllegalStateException - If the license key has not been set properlyjava.lang.IllegalArgumentException - If a parameter is not of the expected typepublic com.dropbox.core.DbxAppInfo getAppInfo()
public com.dropbox.core.DbxRequestConfig getRequestConfig()
protected org.apache.commons.vfs2.FileSystem doCreateFileSystem(org.apache.commons.vfs2.FileName name,
org.apache.commons.vfs2.FileSystemOptions options)
throws org.apache.commons.vfs2.FileSystemException
doCreateFileSystem in class org.apache.commons.vfs2.provider.AbstractOriginatingFileProvidername - The file nameoptions - The file system optionsorg.apache.commons.vfs2.FileSystemException - If something goes wrongpublic org.apache.commons.vfs2.FileSystemConfigBuilder getConfigBuilder()
getConfigBuilder in interface org.apache.commons.vfs2.provider.FileProvidergetConfigBuilder in class org.apache.commons.vfs2.provider.AbstractFileProviderpublic java.util.Collection<org.apache.commons.vfs2.Capability> getCapabilities()
Copyright © 2005-2013 Leisenfels UG. All rights reserved.