public class DocIdUtil
extends java.lang.Object
The Connector Manager embeds docids into URLs without encoding them. URL encoding is not order-preserving and must be used with caution.
DocumentHandle.getDocumentId()| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
idToPath(java.lang.String id)
URL decodes the supplied
id. |
static java.lang.String |
pathToId(java.lang.String path)
URL encodes the supplied
path. |
public static java.lang.String pathToId(java.lang.String path)
path.path - the path as a Stringpublic static java.lang.String idToPath(java.lang.String id)
id.id - the URL encoded path