code: 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);
      }
docs: Gets the blob name from the URI.
  
  @param inURI
  the resource address
  @param usePathStyleUris
  a value indicating if the address is a path style uri.
  @return the blobs name
  @throws URISyntaxException