public class ResourcePath
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
java.io.InputStream |
findInPath(java.lang.String resource) |
static ResourcePath |
forFiles(java.io.File[] files) |
java.lang.String |
toString()
Returns the path as a single string in which each file component is
separates by File.pathSeparatorChar.
|
java.net.URI[] |
toUriPath() |
java.net.URL[] |
toUrlPath() |
public static ResourcePath forFiles(java.io.File[] files)
public java.net.URI[] toUriPath()
public java.net.URL[] toUrlPath() throws java.net.MalformedURLException
java.net.MalformedURLException
public java.io.InputStream findInPath(java.lang.String resource)
public java.lang.String toString()
toString
in class java.lang.Object