com.vividsolutions.jump.workbench.ui
Class WorkbenchFileFilter

java.lang.Object
  extended by javax.swing.filechooser.FileFilter
      extended by com.vividsolutions.jump.workbench.ui.WorkbenchFileFilter

public class WorkbenchFileFilter
extends javax.swing.filechooser.FileFilter

Workbench filter that filters by fileType.


Constructor Summary
WorkbenchFileFilter(java.lang.String fileType)
           
 
Method Summary
 boolean accept(java.io.File file)
           
 java.lang.String getDescription()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorkbenchFileFilter

public WorkbenchFileFilter(java.lang.String fileType)
Method Detail

accept

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

getDescription

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