public class ExportPathUtils extends Object
| Constructor and Description |
|---|
ExportPathUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
constructRelativePath(String baseUrl,
String resourcePath)
Constructs the relative path of the resource, including the application context path.
|
static String |
stripStaticResourcePrefix(String path)
Returns the path without the static resource prefix by stripping everything from '/s/' to '/_'
|
public static String stripStaticResourcePrefix(String path)
path - path to strip the static resource prefix frompublic static String constructRelativePath(String baseUrl, String resourcePath)
baseUrl - the baseurl of the applicationresourcePath - the absolute or relative resource pathCopyright © 2003–2022 Atlassian. All rights reserved.