StorageApi
Description...
StorageApi.getFilePath(String fileId)
fileId
The file path for the input File ID
Description...
StorageApi.getFileIdByPath(String absoluteFilePath)
absoluteFilePath
The File ID
This API provides the folder path
StorageApi.getFolderPath(String folderId)
folderId
Folder path for the input folder ID
Description...
StorageApi.getSignedUrl(String filePath)
or
StorageApi.getSignedUrl(String filePath, long duration, TimeUnit unit)
or
StorageApi.getSignedUrl(String bucketName, String filePath)
or
StorageApi.getSignedUrl(String bucketName, String filePath, long duration, TimeUnit unit)
filePath
duration
unit
bucketName
// Some code
Description...
StorageApi.copyFileToBucket(String sourceFilePath, String targetFilePath)
or
StorageApi.copyFileToBucket(String bucketName, String sourceFilePath, String targetFilePath)
sourceFilePath
targetFilePath
bucketName
// Some code
Description...
StorageApi.copyFileFromBucket(String sourceFilePath, String targetFilePath)
or
Storageapi.copyFileFromBucket(String bucketName, String sourceFilePath, String targetFilePath)
sourceFilePath
targetFilePath
bucketName
// Some code
Description...
StorageApi.copyFileWithinBucket(String sourceFilePath, String targetFilePath)
or
StorageApi.copyFileWithinBucket(String sourceFilePath, String targetFilePath, boolean makeCopy)
or
StorageApi.copyFileWithinBucket(String bucketName, String sourceFilePath, String targetFilePath)
or
StorageApi.copyFileWithinBucket(String bucketName, String sourceFilePath, String targetFilePath, boolean makeCopy)
sourceFilePath
targetFilePath
makeCopy
bucketName
// Some code
Description...
StorageApi.writeToBucket(byte[] bytes, String targetFilePath, String contentType)
or
StorageApi.writeToBucket(String bucketName, byte[] bytes, String targetFilePath, String contentType)
bytes
targetFilePath
contentType
bucketName
// Some code
Description...
StorageApi.readFromBucket(String sourceFilePath)
or
StorageApi.readFromBucket(String bucketName, String sourceFilePath)
sourceFilePath
bucketName
// Some code
Description...
StorageApi.listFiles(String pathName, Boolean versioned)
or
StorageApi.listFiles(String bucketName, String pathName, Boolean versioned)
pathName
versioned
bucketName
// Some code
Description...
StorageApi.saveFileObject(Map<String, Object> fileObject)
fileObject
// Some code
Description...
StorageApi.uploadFile(String url, String bucketName, String sourceFilePath, String targetFilePath
url
bucketName
sourceFilePath
targetFilePath
// Some code
Description...
StorageApi.downloadFile(String url, String bucketName, String sourceFilePath, String targetFilePath)
url
bucketName
sourceFilePath
targetFilePath
// Some code
Last modified 1yr ago