com.japisoft.framework.ui
Class SimpleFileFilter

java.lang.Object
  extended byjavax.swing.filechooser.FileFilter
      extended bycom.japisoft.framework.ui.SimpleFileFilter

public class SimpleFileFilter
extends javax.swing.filechooser.FileFilter

A basic file filter for JFileChooser component

Version:
1.0
Author:
(c) 2004 JAPISoft / http://www.japisoft.com

Constructor Summary
SimpleFileFilter(java.lang.String description, java.lang.String ext)
           
 
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

SimpleFileFilter

public SimpleFileFilter(java.lang.String description,
                        java.lang.String ext)
Method Detail

accept

public boolean accept(java.io.File f)

getDescription

public java.lang.String getDescription()