public final class URIUtils extends Object
URIUtils provides helper methods around working with URIs.| Modifier and Type | Method and Description |
|---|---|
static String |
relativize(RequestPathInfo requestPathInfo,
String resourcePath)
Relativizes the specified
resourcePath against
requestPathInfo. |
static String |
urlEncodePath(String toEncode)
URL encodes a path, ensuring that any forward slashes remain unencoded.
|
public static String urlEncodePath(String toEncode)
toEncode - The path to be safely URL encoded.public static String relativize(RequestPathInfo requestPathInfo, String resourcePath)
resourcePath against
requestPathInfo.
requestPathInfo - RequestPathInfo to relativize againstresourcePath - Resource path to relativizeCopyright © 2010 - 2020 Adobe. All Rights Reserved