module_standard.wBackup
Class JFileChooserExtensionFilter

Object
  extended by javax.swing.filechooser.FileFilter
      extended by module_standard.wBackup.JFileChooserExtensionFilter

public class JFileChooserExtensionFilter
extends javax.swing.filechooser.FileFilter


A_doc
Licence.


Constructor Summary
JFileChooserExtensionFilter(String description, String extension)
           
JFileChooserExtensionFilter(String description, String[] extensions)
           
 
Method Summary
 boolean accept(File file)
           
 String getDescription()
           
 String getExtension()
           
 String[] getExtensions()
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JFileChooserExtensionFilter

public JFileChooserExtensionFilter(String description,
                                   String extension)

JFileChooserExtensionFilter

public JFileChooserExtensionFilter(String description,
                                   String[] extensions)
Method Detail

accept

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

getDescription

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

getExtension

public String getExtension()

getExtensions

public String[] getExtensions()