IFileFilter Interface

com.bea.ide.filesystem
IFileFilter Interface

public interface IFileFilter

This interface is very similar in function to the java.io.FileFilter class. It provides a filtering mechanism for the FileSystemSvc's methods that offer the user a way to filter returned lists of files, or in any situation where a filter for an IFile is needed.

Several implementations are available:


All Known Implementing Classes
FileFilterAcceptAll, FileFilterAnd, FileFilterBridge, FileFilterDirectoriesOnly, FileFilterExclude, FileFilterExtension, FileFilterFilesOnly, FileFilterName, FileFilterNot, FileFilterOr, FileFilterRegexName, FileFilterRegexPath

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.

Method Detail

accept(IFile) Method

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.