public class ResourcePathUtils extends Object
| Constructor and Description |
|---|
ResourcePathUtils() |
| Modifier and Type | Method and Description |
|---|---|
static List<String> |
getUriTemplates(String value)
Returns a List containing all the uri templates (aka uri parameters) of a resource
|
static boolean |
isAbsolute(String includePath) |
static boolean |
isUri(String includePath) |
static String |
toAbsoluteLocation(String basePath,
String relativePath)
Returns the absolute resource location using the basePath
basePath and relativePath must have forward slashes(/) as path separators.
|
public static String toAbsoluteLocation(String basePath, String relativePath)
basePath - The base path of the relative pathrelativePath - the relative pathpublic static boolean isUri(String includePath)
public static boolean isAbsolute(String includePath)
Copyright © 2020. All rights reserved.