> + * @return
> + */
> + static public String getParentPath(String blobName) {
> + Preconditions.checkNotNull(blobName, "blobname is null");
> + String fetchedParent = "";
> + String[] blobPaths =
> blobName.split(OrionConstantValues.PATH_DELIMITER);
> + for (int index = 0; index < (blobPaths.length - 1); index++) {
> + if (!blobPaths[index].isEmpty()) {
> + fetchedParent = fetchedParent + blobPaths[index] +
> OrionConstantValues.PATH_DELIMITER;
> + }
> + }
> + return fetchedParent;
> + }
> +
> + /**
> + * Convert blobName to an hashed unique ID SHA-256 hashing is used This
javadoc not a sentence?
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/45/files#r14714308