Class ContentsKey


  • public class ContentsKey
    extends Object
    Key for the contents of an object.

    For URL encoding, embedded periods within a segment are replaced with zero byte values before passing in a url string.

    • Method Detail

      • fromPathString

        public static ContentsKey fromPathString​(String encoded)
        Convert from path encoded string to normal string.
        Parameters:
        encoded - Path encoded string
        Returns:
        Actual key.
      • toPathString

        public String toPathString()
        Convert this key to a url encoded path string.
        Returns:
        String encoded for path use.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object