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