public class AzureStorageResourcePatternResolver extends Object implements org.springframework.core.io.support.ResourcePatternResolver
| Constructor and Description |
|---|
AzureStorageResourcePatternResolver(com.azure.storage.blob.BlobServiceClient blobServiceClient)
Constructor.
|
AzureStorageResourcePatternResolver(com.azure.storage.blob.BlobServiceClient blobServiceClient,
com.azure.storage.file.share.ShareServiceClient shareServiceClient)
Constructor.
|
AzureStorageResourcePatternResolver(com.azure.storage.file.share.ShareServiceClient shareServiceClient)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
ClassLoader |
getClassLoader() |
org.springframework.core.io.Resource |
getResource(String location) |
org.springframework.core.io.Resource[] |
getResources(String pattern) |
public AzureStorageResourcePatternResolver(com.azure.storage.blob.BlobServiceClient blobServiceClient)
blobServiceClient - the BlobServiceClient.public AzureStorageResourcePatternResolver(com.azure.storage.file.share.ShareServiceClient shareServiceClient)
shareServiceClient - the ShareServiceClient.public AzureStorageResourcePatternResolver(com.azure.storage.blob.BlobServiceClient blobServiceClient,
com.azure.storage.file.share.ShareServiceClient shareServiceClient)
blobServiceClient - the BlobServiceClient.shareServiceClient - the ShareServiceClient.public org.springframework.core.io.Resource[] getResources(String pattern) throws IOException
getResources in interface org.springframework.core.io.support.ResourcePatternResolverIOExceptionResourcePatternResolver.getResources(java.lang.String)public org.springframework.core.io.Resource getResource(String location)
getResource in interface org.springframework.core.io.ResourceLoaderResourceLoader.getResource(java.lang.String)public ClassLoader getClassLoader()
getClassLoader in interface org.springframework.core.io.ResourceLoaderResourceLoader.getClassLoader()Copyright © 2021 Microsoft Corporation. All rights reserved.