org.fife.ui.rtextfilechooser.filters
Class HTMLFileFilter

java.lang.Object
  extended byjavax.swing.filechooser.FileFilter
      extended byorg.fife.ui.rtextfilechooser.filters.HTMLFileFilter

public class HTMLFileFilter
extends javax.swing.filechooser.FileFilter

A file filter for JFileChoosers that filters everything except HTML files.

Version:
1.0
Author:
Robert Futrell

Constructor Summary
HTMLFileFilter()
           
 
Method Summary
 boolean accept(java.io.File f)
          Accept all directories and all *.html/*.htm files.
 java.lang.String getDescription()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HTMLFileFilter

public HTMLFileFilter()
Method Detail

accept

public boolean accept(java.io.File f)
Accept all directories and all *.html/*.htm files.

Parameters:
f - The file to check.
Returns:
Whether the file passes this filter.

getDescription

public java.lang.String getDescription()