public class ClasspathUtils extends Object
Constructor and Description |
---|
ClasspathUtils() |
Modifier and Type | Method and Description |
---|---|
static URL |
getClasspathResourceURL(File classpathElt,
String relativePath)
Can be used to get the URL of a classpath resource whose classpath element and relative path has been passed
into a MatchProcessor.
|
public static URL getClasspathResourceURL(File classpathElt, String relativePath)
classpathElt
- The classpath element (a directory or jarfile), as a File object.relativePath
- The relative path within the classpath element, with '/' as the path delimiter character, and
without an initial or final delimiter character.Copyright © 2017. All rights reserved.