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

## Util
Class FileNameExtensionFilter

    java.lang.Object
      javax.swing.filechooser.FileFilter
          Util.FileNameExtensionFilter

    public class FileNameExtensionFilter

extends javax.swing.filechooser.FileFilter

Implementation for 1.5 compatibility of the 1.6 Java class of the same name, which I didn't realise at the time of using, wasn't part of a 1.5

Author:
  eliott bartley

Constructor Summary
`FileNameExtensionFilter(java.lang.String description, java.lang.String... extensions)`

Method Summary
`boolean` | `accept(java.io.File f)`
`java.lang.String` | `getDescription()`
`java.lang.String[]` | `getExtensions()`
`java.lang.String` | `toString()`

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

Constructor Detail

### FileNameExtensionFilter

    public FileNameExtensionFilter(java.lang.String description,
                                   java.lang.String... extensions)

Method Detail

### accept

    public boolean accept(java.io.File f)

  Specified by:
    `accept` in class `javax.swing.filechooser.FileFilter`

### getDescription

    public java.lang.String getDescription()

  Specified by:
    `getDescription` in class `javax.swing.filechooser.FileFilter`

### getExtensions

    public java.lang.String[] getExtensions()

### toString

    public java.lang.String toString()

  Overrides:
    `toString` in class `java.lang.Object`

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