public class FastPathResolver extends Object
Constructor | Description |
---|---|
FastPathResolver() |
Modifier and Type | Method | Description |
---|---|---|
static String |
resolve(String pathStr) |
Strip away any "jar:" prefix from a filename URI, and convert it to a file path, handling possibly-broken
mixes of filesystem and URI conventions.
|
static String |
resolve(String resolveBasePath,
String relativePathStr) |
Strip away any "jar:" prefix from a filename URI, and convert it to a file path, handling possibly-broken
mixes of filesystem and URI conventions; resolve relative paths relative to resolveBasePath.
|
public static String resolve(String resolveBasePath, String relativePathStr)
resolveBasePath
- The base path.relativePathStr
- The path to resolve relative to the base path.public static String resolve(String pathStr)
pathStr
- The path to resolve.Copyright © 2018. All rights reserved.