code: public static String getTarballResourceNameFromUrl(String url) {
          String resourceName = url.substring(url.lastIndexOf('/') + 1);
          return resourceName;
      }
docs: Return the name of the tarball resource.
  E.g. http://example.com/resource.tar return resource.tar
  @param url
  @return