logbook.gui.fileChooserDialog.fileFilter
Class FileChooserExtensionFilter

java.lang.Object
  extended by javax.swing.filechooser.FileFilter
      extended by logbook.gui.fileChooserDialog.fileFilter.FileChooserExtensionFilter

public class FileChooserExtensionFilter
extends javax.swing.filechooser.FileFilter


Constructor Summary
FileChooserExtensionFilter(java.lang.String paramExtension)
          Only provide this constructor (force user to set the file extension)
 
Method Summary
 boolean accept(java.io.File f)
          Accept all directories and all lbk 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

FileChooserExtensionFilter

public FileChooserExtensionFilter(java.lang.String paramExtension)
Only provide this constructor (force user to set the file extension)

Parameters:
paramExtension -
Method Detail

accept

public boolean accept(java.io.File f)
Accept all directories and all lbk files

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

getDescription

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


Copyright © JFlightLog GNU