net.derquinse.bocas.gcs
Class GCSBocas

java.lang.Object
  extended by net.derquinse.common.base.NotInstantiable
      extended by net.derquinse.bocas.gcs.GCSBocas

public final class GCSBocas
extends NotInstantiable

Factory class for Bocas repositories based on Google Cloud Storage.

Author:
Andres Rodriguez.

Method Summary
static BocasService service(String email, File p12, BocasHashFunction function, MemoryByteSourceLoader loader)
          Creates a new service using service account authentication.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

service

public static BocasService service(String email,
                                   File p12,
                                   BocasHashFunction function,
                                   MemoryByteSourceLoader loader)
Creates a new service using service account authentication.

Parameters:
email - Account email address.
p12 - Private key file.
function - Hash function to use.
loader - Memory loader to use.
Returns:
The requested service.


Copyright © 2013 Derquinse Projects. All Rights Reserved.