public class StorageUtils extends Object
| Constructor and Description |
|---|
StorageUtils() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
checkStorageId(String id) |
static org.gcube.contentmanagement.blobstorage.service.IClient |
getClient() |
static String |
getUniqueString() |
static String |
getUrlById(String id) |
TempFile |
putOntoStorage(InputStream source,
String filename) |
static void |
removeById(String id) |
public static final org.gcube.contentmanagement.blobstorage.service.IClient getClient()
public TempFile putOntoStorage(InputStream source, String filename) throws org.gcube.contentmanagement.blobstorage.transport.backend.RemoteBackendException, FileNotFoundException
org.gcube.contentmanagement.blobstorage.transport.backend.RemoteBackendExceptionFileNotFoundExceptionpublic static final boolean checkStorageId(String id)
public static final void removeById(String id)
public static final String getUniqueString()
Copyright © 2021. All Rights Reserved.