public static class URIQueryParameters.RegexFilter
extends java.lang.Object
implements java.io.FilenameFilter
| Constructor and Description |
|---|
URIQueryParameters.RegexFilter(java.util.regex.Pattern regex) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(java.io.File dir,
java.lang.String name)
Tests if a specified file should be included in a file list.
|
public URIQueryParameters.RegexFilter(java.util.regex.Pattern regex)
public boolean accept(java.io.File dir,
java.lang.String name)
accept in interface java.io.FilenameFilterdir - 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.