public final class UriHelper extends Object
| Constructor and Description |
|---|
UriHelper() |
| Modifier and Type | Method and Description |
|---|---|
static URI |
normalize(URI uri,
boolean preserveContdSlashes)
Normalize the URI provided and return the normalized
copy.
|
static String |
removeDotSegments(String path,
boolean preserveContdSlashes)
Remove dots from path.
|
public static URI normalize(URI uri, boolean preserveContdSlashes)
uri - The URI to normalizepreserveContdSlashes - Shall we preserve "///" slashespublic static String removeDotSegments(String path, boolean preserveContdSlashes)
path - Path providedpreserveContdSlashes - Shall we preserve "///" slashesCopyright © 2016 Oracle Corporation. All rights reserved.