public static StorageUri getShareURI ( final StorageUri fileAddress , final boolean usePathStyleUris ) throws URISyntaxException { final String shareName = getShareNameFromUri ( fileAddress . getPrimaryUri ( ) , usePathStyleUris ) ; final StorageUri shareUri = appendPathToUri ( getServiceClientBaseAddress ( fileAddress , usePathStyleUris ) , shareName ) ; return shareUri ; }
Gets the share URI from a file address