Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.memoire.bu
Class BuFileFilterAll  view BuFileFilterAll download BuFileFilterAll.java

java.lang.Object
  extended byjavax.swing.filechooser.FileFilter
      extended bycom.memoire.bu.BuFileFilter
          extended bycom.memoire.bu.BuFileFilterAll
All Implemented Interfaces:
java.io.FilenameFilter, java.io.Serializable

public class BuFileFilterAll
extends BuFileFilter

A simple implementation of a non-filtering FileFilter.


Field Summary
 
Fields inherited from class com.memoire.bu.BuFileFilter
description_, fullDescription_
 
Constructor Summary
BuFileFilterAll()
           
 
Method Summary
 boolean accept(java.io.File _f)
          Returns true if the specified file matches the filter, and false otherwise.
 boolean accept(java.io.File _d, java.lang.String _fn)
          This method determines whether or not a given file should be included in a directory listing.
 boolean accept(java.lang.String _f)
           
 java.lang.String getDescription()
          Returns a description of the files that will be selected by the filter (for example, "Java source files").
 
Methods inherited from class com.memoire.bu.BuFileFilter
addExtension, equals, getExtension, hashCode, isExtensionListInDescription, setDescription, setExtensionListInDescription, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BuFileFilterAll

public BuFileFilterAll()
Method Detail

accept

public boolean accept(java.lang.String _f)
Overrides:
accept in class BuFileFilter

accept

public boolean accept(java.io.File _f)
Description copied from class: javax.swing.filechooser.FileFilter
Returns true if the specified file matches the filter, and false otherwise.

Overrides:
accept in class BuFileFilter

accept

public boolean accept(java.io.File _d,
                      java.lang.String _fn)
Description copied from interface: java.io.FilenameFilter
This method determines whether or not a given file should be included in a directory listing.

Specified by:
accept in interface java.io.FilenameFilter
Overrides:
accept in class BuFileFilter

getDescription

public java.lang.String getDescription()
Description copied from class: javax.swing.filechooser.FileFilter
Returns a description of the files that will be selected by the filter (for example, "Java source files"). This description will usually be displayed on the javax.swing.JFileChooser component, often in a combo box that is used to select the appropriate filter (in cases where more than one filter is available).

Overrides:
getDescription in class BuFileFilter