public abstract class UriUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
concat(String path1,
String path2)
Concatenates two paths keeping their respective path-parts into consideration.
|
static String |
decodePath(String path)
Decodes a given URL-encoded path assuming it is UTF-8 encoded.
|
static String |
removeDotSegments(String path)
Removes all superfluous dot-segments using the algorithm described in RFC-3986 section 5.2.4.
|
public static String concat(String path1, String path2)
path1 - the first part of the path, can be null;path2 - the second part of the path, can be null.null in case both given arguments were null.public static String decodePath(String path)
path - the URL-encoded path, can be null.null only if the given path was null.public static String removeDotSegments(String path)
path - the path to remove all dot-segments from, can be null.null only if the given path was null.Copyright © 2006–2021 The Apache Software Foundation. All rights reserved.