public final class URIParserUtil extends Object
Modifier and Type | Method and Description |
---|---|
static String |
escapeChars(String s) |
static String |
getAbsoluteURI(String arg) |
static String |
normalize(String uri) |
static URL[] |
pathToURLs(String path) |
static String |
relativize(String base,
String toBeRelativized) |
static String |
relativize(URI baseURI,
URI toBeRelativizedURI)
This is a custom implementation for doing what URI.relativize(URI uri) should be
doing but is not actually doing when URI roots do not fully match.
|
public static String relativize(String base, String toBeRelativized) throws URISyntaxException
URISyntaxException
public static String relativize(URI baseURI, URI toBeRelativizedURI) throws URISyntaxException
baseURI
- The base URItoBeRelativizedURI
- The URI to be relativizedURISyntaxException
Apache CXF