public class NameEqualsFileFilter extends Object implements FileFilter
| Constructor and Description |
|---|
NameEqualsFileFilter(String nameToMatch,
boolean caseInsensitive)
Constructor
|
public NameEqualsFileFilter(String nameToMatch, boolean caseInsensitive)
nameToMatch - The exact file name to matchcaseInsensitive - Wether that match should be case insensitivepublic boolean accept(File file)
accept in interface FileFilterCopyright © 2003–2017 The Apache Software Foundation. All rights reserved.