FileFilterRegexPath Class

com.bea.ide.filesystem
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

Constructor Summary

FileFilterRegexPath(String pattern)

FileFilterRegexPath(Pattern compiledPattern)

 

Method Summary

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
   
Methods from interface com.bea.ide.filesystem.IFileFilter
accept
 

Constructor Detail

FileFilterRegexPath

public FileFilterRegexPath(String pattern)

FileFilterRegexPath

public FileFilterRegexPath(Pattern compiledPattern)
 

Method Detail

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.