FileFilterExclude Class

com.bea.ide.filesystem
FileFilterExclude Class

public class FileFilterExclude

    extends Object
    implements IFileFilter

Hierarchy
Object
  FileFilterExclude
All Implemented Interfaces

IFileFilter

Field Summary

protected static char
_chPathSeparator
char
protected Pattern
_patterns
Pattern
protected String
_sDirs
String
protected static String
_sPathMatcher
String
 

Constructor Summary

FileFilterExclude(String patterns, String sDirs)

Construtor with array of patterns to be excluded.
FileFilterExclude(List patterns, String sDirs)

Construtor with list of patterns to be excluded.
 

Method Summary

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

Field Detail

_chPathSeparator

protected static char _chPathSeparator


_patterns

protected Pattern _patterns


_sDirs

protected String _sDirs


_sPathMatcher

protected static String _sPathMatcher

 

Constructor Detail

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.
 

Method Detail

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