public class GCUBEStorage extends Object
| Constructor and Description |
|---|
GCUBEStorage() |
| Modifier and Type | Method and Description |
|---|---|
static void |
copyRemoteFile(String oldPath,
String newPath,
String portalLogin) |
static void |
createHardLink(String srcPath,
String destPath,
String portalLogin) |
static String |
getPublicLink(String remotePath,
String portalLogin) |
static InputStream |
getRemoteFile(String remotePath,
String portalLogin) |
static long |
getRemoteFileSize(String remotePath,
String portalLogin) |
static org.gcube.contentmanagement.blobstorage.service.IClient |
getStorage(String portalLogin) |
static void |
moveRemoteFile(String oldPath,
String newPath,
String portalLogin) |
static void |
moveRemoteFolder(String oldPath,
String newPath,
String portalLogin) |
static String |
putStream(InputStream is,
String remotePath,
String portalLogin) |
static String |
putStream(InputStream is,
String new_remotePath,
String portalLogin,
String serviceName) |
static String |
putStream(String old_remotePath,
String new_remotePath,
String portalLogin) |
static void |
removeRemoteFile(String remotePath,
String portalLogin) |
static void |
removeRemoteFolder(String remotePath,
String portalLogin) |
static void |
removeRemoteFolder(String remotePath,
String portalLogin,
String serviceName) |
public static org.gcube.contentmanagement.blobstorage.service.IClient getStorage(String portalLogin)
public static String putStream(InputStream is, String remotePath, String portalLogin) throws org.gcube.contentmanagement.blobstorage.transport.backend.RemoteBackendException
org.gcube.contentmanagement.blobstorage.transport.backend.RemoteBackendExceptionpublic static String putStream(String old_remotePath, String new_remotePath, String portalLogin) throws org.gcube.contentmanagement.blobstorage.transport.backend.RemoteBackendException
org.gcube.contentmanagement.blobstorage.transport.backend.RemoteBackendExceptionpublic static long getRemoteFileSize(String remotePath, String portalLogin) throws org.gcube.contentmanagement.blobstorage.transport.backend.RemoteBackendException
org.gcube.contentmanagement.blobstorage.transport.backend.RemoteBackendExceptionpublic static void removeRemoteFile(String remotePath, String portalLogin) throws org.gcube.contentmanagement.blobstorage.transport.backend.RemoteBackendException
org.gcube.contentmanagement.blobstorage.transport.backend.RemoteBackendExceptionpublic static void removeRemoteFolder(String remotePath, String portalLogin) throws org.gcube.contentmanagement.blobstorage.transport.backend.RemoteBackendException
org.gcube.contentmanagement.blobstorage.transport.backend.RemoteBackendExceptionpublic static InputStream getRemoteFile(String remotePath, String portalLogin)
public static void moveRemoteFolder(String oldPath, String newPath, String portalLogin)
public static void moveRemoteFile(String oldPath, String newPath, String portalLogin)
public static void copyRemoteFile(String oldPath, String newPath, String portalLogin)
public static void createHardLink(String srcPath, String destPath, String portalLogin)
public static void removeRemoteFolder(String remotePath, String portalLogin, String serviceName) throws org.gcube.contentmanagement.blobstorage.transport.backend.RemoteBackendException
org.gcube.contentmanagement.blobstorage.transport.backend.RemoteBackendExceptionpublic static String putStream(InputStream is, String new_remotePath, String portalLogin, String serviceName) throws org.gcube.contentmanagement.blobstorage.transport.backend.RemoteBackendException
org.gcube.contentmanagement.blobstorage.transport.backend.RemoteBackendExceptionCopyright © 2014. All Rights Reserved.