FileFilterRegexPath Class
- public class FileFilterRegexPath
extends Object
implements IFileFilter
Accepts IFiles based on how a pattern matches the file's path (IFile.getPath()).
-
Hierarchy
-
Object
FileFilterRegexPath
-
All Implemented Interfaces
-
IFileFilter
public boolean |
-
accept (IFile file)
- This method should return true if the passed-in file is accepted by the
filter and false if the file should be filtered out.
|
Methods from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileFilterRegexPath
public FileFilterRegexPath(String
pattern)
FileFilterRegexPath
public FileFilterRegexPath(Pattern
compiledPattern)
accept(IFile) Method
public boolean accept(IFile
file)
Description copied from IFileFilter.accept(IFile)
This method should return true if the passed-in file is accepted by the
filter and false if the file should be filtered out.