Class MicrosoftAzureStorageClient
java.lang.Object
org.opencastproject.transcription.microsoft.azure.MicrosoftAzureStorageClient
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainerExists(String azureContainerName) voidcreateContainer(String azureContainerName) voiddeleteFile(URL fileUrl) getContainerProperties(String azureContainerName) getContainerUrl(String azureContainerName) uploadFile(File trackFile, String azureContainerName, String azureBlobPath, String azureBlobName)
-
Constructor Details
-
MicrosoftAzureStorageClient
-
-
Method Details
-
getContainerUrl
-
containerExists
public boolean containerExists(String azureContainerName) throws MicrosoftAzureStorageClientException, IOException, MicrosoftAzureNotAllowedException -
getContainerProperties
public Map<String,String> getContainerProperties(String azureContainerName) throws MicrosoftAzureStorageClientException, IOException, MicrosoftAzureNotAllowedException, MicrosoftAzureNotFoundException -
createContainer
public void createContainer(String azureContainerName) throws MicrosoftAzureStorageClientException, IOException, MicrosoftAzureNotAllowedException -
uploadFile
public String uploadFile(File trackFile, String azureContainerName, String azureBlobPath, String azureBlobName) throws MicrosoftAzureStorageClientException, IOException, MicrosoftAzureNotAllowedException -
deleteFile
public void deleteFile(URL fileUrl) throws IOException, MicrosoftAzureNotAllowedException, MicrosoftAzureStorageClientException
-