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 String join(String... parts)
parts
- path segments to combinenormalize(String)
public static String normalize(String path)
Copyright © 1970 The Apache Software Foundation. All rights reserved.