public class FileSets extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
FileSets.RequestBuilder |
| Constructor and Description |
|---|
FileSets() |
| Modifier and Type | Method and Description |
|---|---|
static TempFile[] |
asTemp(StorageUtils storage,
InputStreamDescriptor... descriptors) |
static TempFile |
asTemp(StorageUtils storage,
InputStreamDescriptor descriptor) |
static FileSets.RequestBuilder |
build(String path) |
static FileSets.RequestBuilder |
build(String path,
TempFile... files) |
static AddSectionToConcessioneRequest |
prepareRequest(StorageUtils storage,
String path,
File... toUpload) |
static AddSectionToConcessioneRequest |
prepareRequestFromFolder(StorageUtils storage,
String path,
File directory) |
public static FileSets.RequestBuilder build(String path)
public static FileSets.RequestBuilder build(String path, TempFile... files)
public static TempFile asTemp(StorageUtils storage, InputStreamDescriptor descriptor) throws org.gcube.contentmanagement.blobstorage.transport.backend.RemoteBackendException, FileNotFoundException
org.gcube.contentmanagement.blobstorage.transport.backend.RemoteBackendExceptionFileNotFoundExceptionpublic static TempFile[] asTemp(StorageUtils storage, InputStreamDescriptor... descriptors) throws org.gcube.contentmanagement.blobstorage.transport.backend.RemoteBackendException, FileNotFoundException
org.gcube.contentmanagement.blobstorage.transport.backend.RemoteBackendExceptionFileNotFoundExceptionpublic static AddSectionToConcessioneRequest prepareRequestFromFolder(StorageUtils storage, String path, File directory) throws FileNotFoundException
FileNotFoundExceptionpublic static AddSectionToConcessioneRequest prepareRequest(StorageUtils storage, String path, File... toUpload) throws FileNotFoundException
FileNotFoundExceptionCopyright © 2021. All Rights Reserved.