biggests.utils
Class FileFilterDirectoryChooser

java.lang.Object
  extended by javax.swing.filechooser.FileFilter
      extended by biggests.utils.FileFilterDirectoryChooser

public class FileFilterDirectoryChooser
extends javax.swing.filechooser.FileFilter

Title:

Description:


Constructor Summary
FileFilterDirectoryChooser(java.lang.String[] invalidDirectoryPaths)
           
 
Method Summary
 boolean accept(java.io.File file)
          Checks if a certain file is acceptable under the filter conditions.
 java.lang.String getDescription()
          Returns the description of this file filter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileFilterDirectoryChooser

public FileFilterDirectoryChooser(java.lang.String[] invalidDirectoryPaths)
Method Detail

accept

public boolean accept(java.io.File file)
Checks if a certain file is acceptable under the filter conditions. Returns true if file is accepted, or false otherwise.

Specified by:
accept in class javax.swing.filechooser.FileFilter
Parameters:
file - the File to check
Returns:
a boolean which is true if the file is accepted or false otherwise

getDescription

public java.lang.String getDescription()
Returns the description of this file filter.

Specified by:
getDescription in class javax.swing.filechooser.FileFilter
Returns:
the String description of this file filter