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

## net.sourceforge.pmd.util.filter
Class FileExtensionFilter

    java.lang.Object
      net.sourceforge.pmd.util.filter.FileExtensionFilter

All Implemented Interfaces:
  Filter<java.io.File>

    public class FileExtensionFilter

extends java.lang.Object
implements Filter<java.io.File>

Field Summary
`protected java.lang.String[]` | `extensions`
`protected boolean` | `ignoreCase`

Constructor Summary
`FileExtensionFilter(boolean ignoreCase, java.lang.String... extensions)` Matches any files with the given extensions, optionally ignoring case.
`FileExtensionFilter(java.lang.String... extensions)` Matches any files with the given extensions, ignoring case

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

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

Field Detail

### extensions

    protected final java.lang.String[] extensions

### ignoreCase

    protected final boolean ignoreCase

Constructor Detail

### FileExtensionFilter

    public FileExtensionFilter(java.lang.String... extensions)

  Matches any files with the given extensions, ignoring case

### FileExtensionFilter

    public FileExtensionFilter(boolean ignoreCase,
                               java.lang.String... extensions)

  Matches any files with the given extensions, optionally ignoring case.

Method Detail

### filter

    public boolean filter(java.io.File file)

  Specified by:
    `filter` in interface `Filter<java.io.File>`

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 © 2002-2009 InfoEther. All Rights Reserved.