static class Finder.NameFilter extends Finder.Filter
Finder.name(String).| Modifier and Type | Field and Description |
|---|---|
private Pattern |
pattern
The pattern to filter the filenames with.
|
| Constructor and Description |
|---|
NameFilter(String pattern) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
pass(File file)
Returns for the given file whether this file passes this filter.
|
and, not, orprivate final Pattern pattern
NameFilter(String pattern)
public boolean pass(File file)
Finder.Filterpass in class Finder.FilterCopyright © 2012–2018 Simuline Organization (l2r). All rights reserved.