public final class BlobServiceUtil extends Object
Modifier and Type | Method and Description |
---|---|
static void |
configureCloudBlobForRead(com.microsoft.azure.storage.blob.CloudBlob client,
BlobServiceConfiguration cfg) |
static com.microsoft.azure.storage.blob.CloudAppendBlob |
createAppendBlobClient(BlobServiceConfiguration cfg) |
static com.microsoft.azure.storage.blob.CloudBlobContainer |
createBlobContainerClient(BlobServiceConfiguration cfg) |
static com.microsoft.azure.storage.blob.CloudBlockBlob |
createBlockBlobClient(BlobServiceConfiguration cfg) |
static com.microsoft.azure.storage.blob.CloudPageBlob |
createPageBlobClient(BlobServiceConfiguration cfg) |
static com.microsoft.azure.storage.StorageCredentials |
getAccountCredentials(BlobServiceConfiguration cfg) |
static void |
getBlob(org.apache.camel.Exchange exchange,
BlobServiceConfiguration cfg) |
static com.microsoft.azure.storage.blob.CloudBlob |
getConfiguredClient(BlobServiceConfiguration cfg) |
static BlobServiceRequestOptions |
getRequestOptions(org.apache.camel.Exchange exchange) |
static URI |
prepareStorageBlobUri(BlobServiceConfiguration cfg) |
static URI |
prepareStorageBlobUri(BlobServiceConfiguration cfg,
boolean blobNameRequired) |
public static void getBlob(org.apache.camel.Exchange exchange, BlobServiceConfiguration cfg) throws Exception
Exception
public static com.microsoft.azure.storage.blob.CloudBlobContainer createBlobContainerClient(BlobServiceConfiguration cfg) throws Exception
Exception
public static com.microsoft.azure.storage.blob.CloudBlockBlob createBlockBlobClient(BlobServiceConfiguration cfg) throws Exception
Exception
public static com.microsoft.azure.storage.blob.CloudAppendBlob createAppendBlobClient(BlobServiceConfiguration cfg) throws Exception
Exception
public static com.microsoft.azure.storage.blob.CloudPageBlob createPageBlobClient(BlobServiceConfiguration cfg) throws Exception
Exception
public static com.microsoft.azure.storage.blob.CloudBlob getConfiguredClient(BlobServiceConfiguration cfg)
public static com.microsoft.azure.storage.StorageCredentials getAccountCredentials(BlobServiceConfiguration cfg)
public static void configureCloudBlobForRead(com.microsoft.azure.storage.blob.CloudBlob client, BlobServiceConfiguration cfg)
public static URI prepareStorageBlobUri(BlobServiceConfiguration cfg)
public static URI prepareStorageBlobUri(BlobServiceConfiguration cfg, boolean blobNameRequired)
public static BlobServiceRequestOptions getRequestOptions(org.apache.camel.Exchange exchange)
Apache Camel