public final class PathUtil extends Object
| Constructor and Description |
|---|
PathUtil() |
public static String join(String... components)
String path = Path.join("path", "to", "file");
// => path == "path/to/file";
Note that this also works fine for joining paths in URLs.components - file name components to joincomponentsCopyright © 2016. All rights reserved.