public static String getBlobNameFromURI ( final URI inURI , final boolean usePathStyleUris ) throws URISyntaxException { return Utility . safeRelativize ( new URI ( getContainerURI ( new StorageUri ( inURI ) , usePathStyleUris ) . getPrimaryUri ( ) . toString ( ) . concat ( "/" ) ) , inURI ) ; }
Gets the blob name from the URI .