public class GDriveClientFactory extends 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.FileSystemOptions options,
String appname,
com.google.api.client.googleapis.auth.oauth2.GoogleAuthorizationCodeFlow authflow)
Creates a new connection to the server.
|
public GDriveClientFactory()
throws InstantiationException
InstantiationException - Error indicationpublic static com.google.api.services.drive.Drive createClient(org.apache.commons.vfs2.FileSystemOptions options,
String appname,
com.google.api.client.googleapis.auth.oauth2.GoogleAuthorizationCodeFlow authflow)
throws GeneralSecurityException,
IOException
options - The file system optionsappname - The application name (required)authflow - The request configurationGeneralSecurityExceptionIOException
Copyright © 2005-2026 Leisenfels GmbH. All rights reserved.