net.sf.saxon.functions
Class URIQueryParameters.RegexFilter
java.lang.Object
net.sf.saxon.functions.URIQueryParameters.RegexFilter
- URIQueryParameters
- FilenameFilter
public static class URIQueryParameters.RegexFilter
extends java.lang.Object
implements FilenameFilter
boolean | accept(File dir, String name) - Tests if a specified file should be included in a file list.
|
RegexFilter
public RegexFilter(Pattern regex)
accept
public boolean accept(File dir,
String name)
Tests if a specified file should be included in a file list.
dir
- the directory in which the file was found.name
- the name of the file.
true
if and only if the name should be
included in the file list; false
otherwise.