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

## org.mindswap.pellet.utils
Class PatternFilter

    java.lang.Object
      org.mindswap.pellet.utils.PatternFilter

All Implemented Interfaces:
  java.io.FileFilter

    public class PatternFilter

extends java.lang.Object
implements java.io.FileFilter

File filter implementation that filters by pattern matching on the file name using regular expressions. Two patterns are specified. A file is accepted if its name matches the first pattern and does NOT match the second pattern.

Author:
  Evren Sirin

Constructor Summary
`PatternFilter(java.lang.String match)`
`PatternFilter(java.lang.String match, java.lang.String noMatch)`

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

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

Constructor Detail

### PatternFilter

    public PatternFilter(java.lang.String match)

### PatternFilter

    public PatternFilter(java.lang.String match,
                         java.lang.String noMatch)

Method Detail

### accept

    public boolean accept(java.io.File file)

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

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

Copyright © 2004 Evren Sirin. All Rights Reserved.