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