public static class URIQueryParameters.RegexFilter extends Object implements FilenameFilter
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.public boolean matches(String name)
Copyright (c) 2004-2013 Saxonica Limited. All rights reserved.