|Constructor and Description|
|Modifier and Type||Method and Description|
Tests if a specified file should be included in a file list.
Test whether a name matches the pattern (regardless whether it is a directory or not)
public URIQueryParameters.RegexFilter(Pattern regex)
dir- the directory in which the file was found.
name- the name (last component) of the file.
trueif and only if the name should be included in the file list;
falseotherwise. Returns true if the file is a directory or if it matches the glob pattern.
public boolean matches(String name)
name- the name (last component) of the file
Copyright (c) 2004-2014 Saxonica Limited. All rights reserved.