public class UtlResource extends Object
This class IS NOT intended to be used by end users.
| Modifier and Type | Class and Description |
|---|---|
static interface |
UtlResource.URLFilter
A filter for
URLs. |
| Constructor and Description |
|---|
UtlResource() |
| Modifier and Type | Method and Description |
|---|---|
static void |
findClasspathResourcesIn(String path,
Set<URL> results,
UtlResource.URLFilter filter)
Gets the list of file resources on the classpath that have have the given
path as their parent.
|
public static void findClasspathResourcesIn(String path, Set<URL> results, UtlResource.URLFilter filter) throws IOException
Any resources on the classpath that match the given path that are not classpath folders will be ignored.
path - The parent folderresults - The result into which to add the resources.filter - An optional filter that can be used to filter files from being added to the resultsIOException - If there is an error finding resources.Copyright © 2019 Neeve Research, LLC. All Rights Reserved.