com.compoze.collab.util
Class IoUtility.BynameFilenameFilter

java.lang.Object
  extended by com.compoze.collab.util.IoUtility.BynameFilenameFilter
All Implemented Interfaces
FilenameFilter, Serializable
Enclosing class:
IoUtility

public static class IoUtility.BynameFilenameFilter
extends Object
implements FilenameFilter, Serializable

Filter a file by its name.

See Also
Serialized Form

Constructor Summary
IoUtility.BynameFilenameFilter(String sFilename, boolean bIgnoreCase)
          Constructor.
 
Method Summary
 boolean accept(File dir, String sFilename)
          Determines whether or not to accept the file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IoUtility.BynameFilenameFilter

public IoUtility.BynameFilenameFilter(String sFilename,
                                      boolean bIgnoreCase)
Constructor.

Parameters
sFilename - the filename to compare
bIgnoreCase - if true, ignore case in comparison
Method Detail

accept

public boolean accept(File dir,
                      String sFilename)
Determines whether or not to accept the file.

Specified by:
accept in interface FilenameFilter


Copyright © 2006 BEA Systems, Inc. All Rights Reserved