PathUtility.getContainerURI(final StorageUri blobAddress, final boolean usePathStyleUris) Method

Definition

Gets the container URI from a blob address

public static StorageUri getContainerURI(final StorageUri blobAddress, final boolean usePathStyleUris)
Parameters
blobAddress
final StorageUri

the blob address

usePathStyleUris
final boolean

a value indicating if the address is a path style uri.

Returns

the container URI from a blob address

Exceptions
URISyntaxException