images
Class ImageFileFilter

java.lang.Object
  extended by javax.swing.filechooser.FileFilter
      extended by images.ImageFileFilter

public class ImageFileFilter
extends javax.swing.filechooser.FileFilter

This class implements a filter for image file names.


Constructor Summary
ImageFileFilter(java.lang.String extension, java.lang.String description)
           
 
Method Summary
 boolean accept(java.io.File f)
           
 java.lang.String getDescription()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageFileFilter

public ImageFileFilter(java.lang.String extension,
                       java.lang.String description)
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