com.compoze.collab.util
Class IoUtility.BynameFilenameFilter
java.lang.Object
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
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 |
IoUtility.BynameFilenameFilter
public IoUtility.BynameFilenameFilter(String sFilename,
boolean bIgnoreCase)
- Constructor.
- Parameters
sFilename
- the filename to comparebIgnoreCase
- if true, ignore case in comparison
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