visad.util
Class McIDASFileFilter

java.lang.Object
  extended by javax.swing.filechooser.FileFilter
      extended by visad.util.McIDASFileFilter

public class McIDASFileFilter
extends javax.swing.filechooser.FileFilter

A file filter for McIDAS AREA files, for use with a JFileChooser.


Constructor Summary
McIDASFileFilter()
          construct a new filter for McIDAS AREA files
 
Method Summary
 boolean accept(java.io.File f)
          accept files with the proper filename prefix
 java.lang.String getDescription()
          return the filter's description
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

McIDASFileFilter

public McIDASFileFilter()
construct a new filter for McIDAS AREA files

Method Detail

accept

public boolean accept(java.io.File f)
accept files with the proper filename prefix

Specified by:
accept in class javax.swing.filechooser.FileFilter

getDescription

public java.lang.String getDescription()
return the filter's description

Specified by:
getDescription in class javax.swing.filechooser.FileFilter