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