public class AzureStorageContainer extends Object
| Constructor and Description |
|---|
AzureStorageContainer(com.microsoft.azure.storage.blob.CloudBlobContainer cloudBlobContainer) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
emptyCloudBlobDirectory(String path) |
InputStream |
getBlobInputStream(String filePath) |
void |
uploadBlob(File file,
String destination) |
public AzureStorageContainer(com.microsoft.azure.storage.blob.CloudBlobContainer cloudBlobContainer)
public List<String> emptyCloudBlobDirectory(String path) throws com.microsoft.azure.storage.StorageException, URISyntaxException
com.microsoft.azure.storage.StorageExceptionURISyntaxExceptionpublic void uploadBlob(File file, String destination) throws IOException, com.microsoft.azure.storage.StorageException, URISyntaxException
IOExceptioncom.microsoft.azure.storage.StorageExceptionURISyntaxExceptionpublic InputStream getBlobInputStream(String filePath) throws URISyntaxException, com.microsoft.azure.storage.StorageException
URISyntaxExceptioncom.microsoft.azure.storage.StorageExceptionCopyright © 2011–2015. All rights reserved.