bb.io.filefilter
Class NormalFileFilter

java.lang.Object
  extended by javax.swing.filechooser.FileFilter
      extended by bb.io.filefilter.BaseFilter
          extended by bb.io.filefilter.NormalFileFilter
All Implemented Interfaces:
FileFilter

public class NormalFileFilter
extends BaseFilter

File filter that accepts files.

Specificly, this file filter accepts every file, as long as it is a normal file. Directories and other file system elements are always rejected, which could affect directory drill down (see DirUtil.getTree and DirUtil.getFilesInTree).

This class is multithread safe: it is immutable. In particular, it has no listener (see the ancestor class javadocs for more discussion).

Author:
Brent Boyer

Nested Class Summary
 
Nested classes/interfaces inherited from class bb.io.filefilter.BaseFilter
BaseFilter.UnitTest
 
Constructor Summary
NormalFileFilter()
          Constructs a new NormalFileFilter instance.
 
Method Summary
 String getDescription()
          
 
Methods inherited from class bb.io.filefilter.BaseFilter
accept, acceptImpl, extractPart, getDirectoryMode, getFileMode, getListener, getOtherMode, getPartMode, passesTest, passesTest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NormalFileFilter

public NormalFileFilter()
Constructs a new NormalFileFilter instance.

Method Detail

getDescription

public String getDescription()
Description copied from class: BaseFilter

Specified by:
getDescription in class BaseFilter