com.aurigalogic.aurigadoc.util
Class ADFileFilter

java.lang.Object
  |
  +--com.aurigalogic.aurigadoc.util.ADFileFilter
All Implemented Interfaces:
java.io.FileFilter

public class ADFileFilter
extends java.lang.Object
implements java.io.FileFilter

This class implements the FileFilter interface to filter files with a given extension.

Version:
$Revision: 1.2 $ $Date: 2003/07/11 16:41:32 $
Author:
Khurshidali Shaikh

Constructor Summary
ADFileFilter(java.lang.String extension)
          Constructor
 
Method Summary
 boolean accept(java.io.File file)
          Return true for files(not directories) with extension extension.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ADFileFilter

public ADFileFilter(java.lang.String extension)
Constructor

Parameters:
extension - the file extension
Method Detail

accept

public boolean accept(java.io.File file)
Return true for files(not directories) with extension extension.

Specified by:
accept in interface java.io.FileFilter
Parameters:
file - the file object.
Returns:
whether the object is acceptable.


Copyright © 2000, 2003 Auriga Logic Pvt. Ltd. All Rights Reserved.