Package org.nuxeo.ecm.blob.azure
Class AzureFileStorage
java.lang.Object
org.nuxeo.ecm.blob.azure.AzureFileStorage
- All Implemented Interfaces:
FileStorage
Deprecated.
since 2023.9
- Since:
- 7.10
- Author:
- Arnaud Kervern
-
Field Summary
-
Constructor Summary
ConstructorDescriptionAzureFileStorage
(com.azure.storage.blob.BlobContainerClient container, String prefix) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionprotected static String
decodeContentMD5
(byte[] bytes) Deprecated.boolean
Deprecated.Does a blob with the given key exist in the storage.boolean
Deprecated.Fetches a file based on its key.protected static boolean
isBlobDigestCorrect
(String digest, byte[] contentMD5) Deprecated.protected static boolean
isBlobDigestCorrect
(String digest, com.azure.storage.blob.BlobClient blob) Deprecated.void
Deprecated.Stores a file based on a key.
-
Field Details
-
container
protected com.azure.storage.blob.BlobContainerClient containerDeprecated. -
prefix
Deprecated.
-
-
Constructor Details
-
AzureFileStorage
Deprecated.
-
-
Method Details
-
storeFile
Deprecated.Description copied from interface:FileStorage
Stores a file based on a key.- Specified by:
storeFile
in interfaceFileStorage
- Parameters:
digest
- the file keyfile
- the file- Throws:
IOException
- if a storage error occurred
-
fetchFile
Deprecated.Description copied from interface:FileStorage
Fetches a file based on its key.- Specified by:
fetchFile
in interfaceFileStorage
- Parameters:
digest
- the file keyfile
- the file to use to store the fetched data- Returns:
true
if the file was fetched,false
if the file was not found- Throws:
IOException
- if a storage error occurred
-
exists
Deprecated.Description copied from interface:FileStorage
Does a blob with the given key exist in the storage.The existence of the blob is checked in the storage where the blob is effectively stored. Intermediate cache is ignored.
- Specified by:
exists
in interfaceFileStorage
- Parameters:
digest
- the blob key- Returns:
- true if it exists in the storage
-
isBlobDigestCorrect
Deprecated. -
isBlobDigestCorrect
Deprecated. -
decodeContentMD5
Deprecated.
-