public class GDriveClientFactory
extends java.lang.Object
Constructor and Description |
---|
GDriveClientFactory()
Constructor method (do not use).
|
Modifier and Type | Method and Description |
---|---|
static com.google.api.services.drive.Drive |
createClient(org.apache.commons.vfs2.provider.GenericFileName root,
org.apache.commons.vfs2.FileSystemOptions options,
java.lang.String appname,
com.google.api.client.googleapis.auth.oauth2.GoogleAuthorizationCodeFlow authflow,
VFSLib vfslib)
Creates a new connection to the server.
|
public GDriveClientFactory() throws java.lang.InstantiationException
java.lang.InstantiationException
- Error indicationpublic static com.google.api.services.drive.Drive createClient(org.apache.commons.vfs2.provider.GenericFileName root, org.apache.commons.vfs2.FileSystemOptions options, java.lang.String appname, com.google.api.client.googleapis.auth.oauth2.GoogleAuthorizationCodeFlow authflow, VFSLib vfslib) throws java.io.IOException
root
- The file system rootoptions
- The file system optionsappname
- The application name (required)authflow
- The request configurationvfslib
- The parental object, shared instance if null
java.io.IOException
- If an error occursCopyright © 2005-2014 Leisenfels UG. All rights reserved.