org.gcube.common.homelibrary.jcr.repository.external
Class GCUBEStorage
java.lang.Object
org.gcube.common.homelibrary.jcr.repository.external.GCUBEStorage
public class GCUBEStorage
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GCUBEStorage
public GCUBEStorage()
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
removeRemoteFolder
public static void removeRemoteFolder(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)
getPublicLink
public static String getPublicLink(String remotePath)
moveRemoteFolder
public static void moveRemoteFolder(String oldPath,
String newPath)
moveRemoteFile
public static void moveRemoteFile(String oldPath,
String newPath)
createHardLink
public static void createHardLink(String srcPath,
String destPath)
Copyright © 2013. All Rights Reserved.