org.gcube.portlets.user.homelibrary.jcr.repository.external
Class GCUBEStorage

java.lang.Object
  extended by org.gcube.portlets.user.homelibrary.jcr.repository.external.GCUBEStorage

public class GCUBEStorage
extends Object


Constructor Summary
GCUBEStorage()
           
 
Method Summary
static InputStream getRemoteFile(String remotePath)
           
static long getRemoteFileSize(String remotePath)
           
static String putStream(InputStream is, String remotePath)
           
static void removeRemoteFile(String remotePath)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GCUBEStorage

public GCUBEStorage()
Method Detail

putStream

public static String putStream(InputStream is,
                               String remotePath)
                        throws org.gcube.contentmanagement.blobstorage.transport.backend.RemoteBackendException
Throws:
org.gcube.contentmanagement.blobstorage.transport.backend.RemoteBackendException

getRemoteFileSize

public static long getRemoteFileSize(String remotePath)
                              throws org.gcube.contentmanagement.blobstorage.transport.backend.RemoteBackendException
Throws:
org.gcube.contentmanagement.blobstorage.transport.backend.RemoteBackendException

removeRemoteFile

public static void removeRemoteFile(String remotePath)
                             throws org.gcube.contentmanagement.blobstorage.transport.backend.RemoteBackendException
Throws:
org.gcube.contentmanagement.blobstorage.transport.backend.RemoteBackendException

getRemoteFile

public static InputStream getRemoteFile(String remotePath)


Copyright © 2013. All Rights Reserved.