public class PathHelper extends Object
| Constructor and Description |
|---|
PathHelper() |
| Modifier and Type | Method and Description |
|---|---|
static Path[] |
toPathArray(File... files)
Converts the given array of files into an array of paths
|
static URL |
toURL(Path path)
Converts the given Path to a URL
|
static String |
toUrlString(Path path)
Converts the given Path to a URL string
|
public static Path[] toPathArray(File... files)
public static String toUrlString(Path path) throws MalformedURLException
MalformedURLExceptionpublic static URL toURL(Path path) throws MalformedURLException
MalformedURLExceptionCopyright © 2011–2014 Red Hat. All rights reserved.