public static class URIQueryParameters.RegexFilter extends Object implements FilenameFilter
Constructor and Description |
---|
URIQueryParameters.RegexFilter(Pattern regex) |
public URIQueryParameters.RegexFilter(Pattern regex)
public boolean accept(File dir, String name)
accept
in interface FilenameFilter
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.