FileFilterExclude Class
- public class FileFilterExclude
extends Object
implements IFileFilter
-
Hierarchy
-
Object
FileFilterExclude
-
All Implemented Interfaces
-
IFileFilter
public boolean |
-
accept (IFile f)
- Test the file, or the directory for a file of type set in the construtor
|
protected boolean |
-
isExcludedDir (String sName)
- Helper method that tests string patterns that are directories
|
protected boolean |
-
isExcludedFile (String sName)
- Helper method that tests string patterns that are not directories
|
Methods from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_chPathSeparator
protected static char _chPathSeparator
_patterns
protected Pattern
_patterns
_sDirs
protected String
_sDirs
_sPathMatcher
protected static String
_sPathMatcher
FileFilterExclude
public FileFilterExclude(String
[] patterns,
String
sDirs)
- Construtor with array of patterns to be excluded.
FileFilterExclude
public FileFilterExclude(List
patterns,
String
sDirs)
- Construtor with list of patterns to be excluded.
accept(IFile) Method
public boolean accept(IFile
f)
Test the file, or the directory for a file of type set in the construtor
isExcludedDir(String) Method
protected boolean isExcludedDir(String
sName)
Helper method that tests string patterns that are directories
isExcludedFile(String) Method
protected boolean isExcludedFile(String
sName)
Helper method that tests string patterns that are not directories