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.StorageException
URISyntaxException
public void uploadBlob(File file, String destination) throws IOException, com.microsoft.azure.storage.StorageException, URISyntaxException
IOException
com.microsoft.azure.storage.StorageException
URISyntaxException
public InputStream getBlobInputStream(String filePath) throws URISyntaxException, com.microsoft.azure.storage.StorageException
URISyntaxException
com.microsoft.azure.storage.StorageException
Copyright © 2011–2015. All rights reserved.