de.esprit.common.io.filter

## Class ClassFileFilter

- java.lang.Object
- - de.esprit.common.io.filter.ClassFileFilter

- All Implemented Interfaces:
    java.io.FileFilter, java.io.FilenameFilter

      public class ClassFileFilter
      extends java.lang.Object
      implements java.io.FileFilter, java.io.FilenameFilter

  This filter only accepts files with extension .class
  Author:
    Rainer Buesch

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static ClassFileFilter` | `instance`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `ClassFileFilter()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `accept(java.io.File file)`
    `boolean` | `accept(java.io.File dir, java.lang.String fileName)`
    `static ClassFileFilter` | `getInstance()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### instance

          public static final ClassFileFilter instance

  - ### Constructor Detail

    - #### ClassFileFilter

          public ClassFileFilter()

  - ### Method Detail

    - #### getInstance

          public static ClassFileFilter getInstance()

    - #### accept

          public boolean accept(java.io.File file)

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

    - #### accept

          public boolean accept(java.io.File dir,
                       java.lang.String fileName)

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

Copyright © 2014 EsprIT-Systems. All Rights Reserved.