public class ResourceMatcher
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
private static class |
ResourceMatcher.PatternMatcher
File name pattern matcher.
|
static interface |
ResourceMatcher.ReportMatch
Report matches found to name patterns.
|
Modifier and Type | Field and Description |
---|---|
private static org.apache.log4j.Logger |
s_logger
Logger for class.
|
Constructor and Description |
---|
ResourceMatcher() |
Modifier and Type | Method and Description |
---|---|
static java.util.List |
matchPaths(java.io.File basedir,
java.net.URL baseurl,
java.util.List paths,
ResourceMatcher.ReportMatch report)
Find matches to resource paths.
|
public static java.util.List matchPaths(java.io.File basedir, java.net.URL baseurl, java.util.List paths, ResourceMatcher.ReportMatch report) throws java.io.IOException
basedir
- file system base directory (null
if not using file system)baseurl
- base URL for names (null
if no base)paths
- resource paths to be found, with wildcards allowed in name portion if using file systemreport
- match reporting interfacejava.io.IOException