jAER project on SourceForge

net.sf.jaer.util
Class PNGFileFilter

java.lang.Object
  extended by javax.swing.filechooser.FileFilter
      extended by net.sf.jaer.util.PNGFileFilter

public class PNGFileFilter
extends javax.swing.filechooser.FileFilter

filter for PNF image files.

Author:
tobi

Constructor Summary
PNGFileFilter()
          Creates a new instance of PNGFileFilter
 
Method Summary
 boolean accept(java.io.File f)
           
 java.lang.String getDescription()
           
static java.lang.String getExtension(java.io.File f)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PNGFileFilter

public PNGFileFilter()
Creates a new instance of PNGFileFilter

Method Detail

accept

public boolean accept(java.io.File f)
Specified by:
accept in class javax.swing.filechooser.FileFilter

getExtension

public static java.lang.String getExtension(java.io.File f)

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in class javax.swing.filechooser.FileFilter

jAER project on SourceForge