Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Multivalent API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## phelps.io
Class FileFilterPattern

    java.lang.Object
      phelps.io.FileFilterPattern

All Implemented Interfaces:
  java.io.FileFilter

public class FileFilterPattern
extends java.lang.Object
implements java.io.FileFilter

Filter files by testing a regular expression against the full pathname. General `FileFilter`s are more flexible, but this saves defining a new class for the most common uses.

Version:
  $Revision: 1.2 $ $Date: 2003/01/19 17:59:14 $
See Also:
  `FilenameFilterPattern`

Constructor Summary
`FileFilterPattern(java.util.regex.Pattern regex)`
`FileFilterPattern(java.lang.String regex)`

Method Summary
`boolean` | `accept(java.io.File pathname)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### FileFilterPattern

    public FileFilterPattern(java.lang.String regex)

### FileFilterPattern

    public FileFilterPattern(java.util.regex.Pattern regex)

Method Detail

### accept

    public boolean accept(java.io.File pathname)

  Specified by:
    `accept` in interface `java.io.FileFilter`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Multivalent API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD