ebgeo.maprequest
Class ImageFileFilter
java.lang.Object
javax.swing.filechooser.FileFilter
ebgeo.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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImageFileFilter
public ImageFileFilter()
- Creates a new instance of ImageFileFilter
accept
public boolean accept(File f)
getDescription
public String getDescription()