public final class PathUtils extends Object
| Constructor and Description |
|---|
PathUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getPathWithProtocol(URL url)
Creates and returns path with the protocol at the beginning from specified
url. |
static String |
join(String... parts)
Returns a normalized, combined path out of the given path segments.
|
static String |
normalize(String path)
Normalizes the given path eliminating repeated forward slashes.
|
public static final String join(String... parts)
parts - path segments to combinenormalize(String)public static final String normalize(String path)
Copyright © 2021 The Apache Software Foundation. All rights reserved.