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
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAzureFileStorage(com.azure.storage.blob.BlobContainerClient container, String prefix) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionprotected static StringdecodeContentMD5(byte[] bytes) Deprecated.booleanDeprecated.Does a blob with the given key exist in the storage.booleanDeprecated.Fetches a file based on its key.protected static booleanisBlobDigestCorrect(String digest, byte[] contentMD5) Deprecated.protected static booleanisBlobDigestCorrect(String digest, com.azure.storage.blob.BlobClient blob) Deprecated.voidDeprecated.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:FileStorageStores a file based on a key.- Specified by:
storeFilein interfaceFileStorage- Parameters:
digest- the file keyfile- the file- Throws:
IOException- if a storage error occurred
-
fetchFile
Deprecated.Description copied from interface:FileStorageFetches a file based on its key.- Specified by:
fetchFilein interfaceFileStorage- Parameters:
digest- the file keyfile- the file to use to store the fetched data- Returns:
trueif the file was fetched,falseif the file was not found- Throws:
IOException- if a storage error occurred
-
exists
Deprecated.Description copied from interface:FileStorageDoes 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:
existsin interfaceFileStorage- Parameters:
digest- the blob key- Returns:
- true if it exists in the storage
-
isBlobDigestCorrect
Deprecated. -
isBlobDigestCorrect
Deprecated. -
decodeContentMD5
Deprecated.
-