# com.bea.ide.filesystem
FileFilterAnd Class

public class FileFilterAnd
extends `Object`
implements `IFileFilter`

Evaluates two IFileFilters together with an AND operation. Both filters' accept method need to return true in order for this filter to return true.

Hierarchy
  `Object`
  `FileFilterAnd`

All Implemented Interfaces
  `IFileFilter`

## Constructor Summary

FileFilterAnd(`IFileFilter` one, `IFileFilter` two)

## 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

### FileFilterAnd

    public FileFilterAnd(IFileFilter one,
                         IFileFilter two)

## 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.