@ Override public String getPath ( ) { // We need to URL encode '+'s to work around an S3 bug // (Cf. https://forums.aws.amazon.com/thread.jspa?threadID=55746) return PAIRTREE_ROOT + PATH_SEP + PairtreeUtils . mapToPtPath ( myID ) . replace ( UNENCODED_PLUS , ENCODED_PLUS ) + PATH_SEP + PairtreeUtils . encodeID ( myID ) . replace ( UNENCODED_PLUS , ENCODED_PLUS ) ; }
Gets the object path . If the path contains a + it will be URL encoded for interaction with S3 s HTTP API .