com.neeve.util
Class UtlResource
java.lang.Object
com.neeve.util.UtlResource
public class UtlResource
- extends Object
Utilities for finding resources.
This class IS NOT intended to be used by end users.
UtlResource
public UtlResource()
findClasspathResourcesIn
public static void findClasspathResourcesIn(String path,
Set<URL> results,
UtlResource.URLFilter filter)
throws IOException
- Gets the list of file resources on the classpath that have have the given
path as their parent.
Any resources on the classpath that match the given path that are not
classpath folders will be ignored.
- Parameters:
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 results
- Throws:
IOException
- If there is an error finding resources.
Copyright © 2016 Neeve Research, LLC. All Rights Reserved.