ebgeo.maprequest
Class ImageFileFilter

java.lang.Object
  extended byjavax.swing.filechooser.FileFilter
      extended byebgeo.maprequest.ImageFileFilter

public class ImageFileFilter
extends FileFilter

A file filter that accepts only image files that MapRequest can deal with. Currently this is PNG (.png) and JPEG (.jpg) files.


Constructor Summary
ImageFileFilter()
          Creates a new instance of ImageFileFilter
 
Method Summary
 boolean accept(File f)
           
 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()
Creates a new instance of ImageFileFilter

Method Detail

accept

public boolean accept(File f)

getDescription

public String getDescription()