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