com.partnersoft.io
Class AllFilesFilter

java.lang.Object
  extended by com.partnersoft.io.AllFilesFilter
All Implemented Interfaces:
Immutable, java.io.FilenameFilter

public class AllFilesFilter
extends java.lang.Object
implements java.io.FilenameFilter, Immutable

A filename filter that accepts all files, regardless of name or extension.

Copyright 2006 Partner Software, Inc.

Version:
$Id: AllFilesFilter.java 1012 2007-11-24 18:30:02Z paul $
Author:
Paul Reavis

Constructor Summary
AllFilesFilter()
          Constructs a new AllFilesFilter.
 
Method Summary
 boolean accept(java.io.File dir, java.lang.String name)
           
 AllFilesFilter standardInstance()
          AllFilesFilter has no state, so you can use this standard instance instead of creating your own.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AllFilesFilter

public AllFilesFilter()
Constructs a new AllFilesFilter. It has no state, so you should generally use standardInstance() instead to avoid creating an object.

Method Detail

standardInstance

public AllFilesFilter standardInstance()
AllFilesFilter has no state, so you can use this standard instance instead of creating your own.


accept

public boolean accept(java.io.File dir,
                      java.lang.String name)
Specified by:
accept in interface java.io.FilenameFilter