public final class PathUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static Pattern |
PATH_SEPARATOR_REGEX |
| Modifier and Type | Method and Description |
|---|---|
static String |
resolveRelativePath(String relativePath,
String anchorPath,
char expectedSeparator)
Resolves the given
relativePath based on the given anchorPath. |
public static final Pattern PATH_SEPARATOR_REGEX
public static String resolveRelativePath(String relativePath, String anchorPath, char expectedSeparator)
relativePath based on the given anchorPath.relativePath - the relative path which should be resolved.anchorPath - the anchor path based on which the relative path should be resolved on.expectedSeparator - The character expected to be used as a separator; dictated by the
Loader.null when the path could not be resolved.Copyright © 2019. All rights reserved.