public static StorageUri getContainerURI ( final StorageUri blobAddress , final boolean usePathStyleUris ) throws URISyntaxException { final String containerName = getContainerNameFromUri ( blobAddress . getPrimaryUri ( ) , usePathStyleUris ) ; final StorageUri containerUri = appendPathToUri ( getServiceClientBaseAddress ( blobAddress , usePathStyleUris ) , containerName ) ; return containerUri ; }
Gets the container URI from a blob address