uk.ac.ebi.adfconverter.library
Class DirectoryFilter

java.lang.Object
  extended byuk.ac.ebi.adfconverter.library.DirectoryFilter
All Implemented Interfaces:
java.io.FilenameFilter

public class DirectoryFilter
extends java.lang.Object
implements java.io.FilenameFilter

implements java.io.FilenameFilter interface. Uses to filter files in a directory to retrieves subdirectory

Since:
12 09 04 (viva fabio)
Version:
$Revision: 0.1 $
Author:
Pierre MARGUERITE

Constructor Summary
DirectoryFilter()
          Default contructor of a filter for subdirectory
 
Method Summary
 boolean accept(java.io.File dir, java.lang.String name)
          retrieved if a file accepted by the filter.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DirectoryFilter

public DirectoryFilter()
Default contructor of a filter for subdirectory

Method Detail

accept

public boolean accept(java.io.File dir,
                      java.lang.String name)
retrieved if a file accepted by the filter. Implements accept method from Interface

Specified by:
accept in interface java.io.FilenameFilter
Parameters:
dir - the directory of file to accept
name - the filename of the file to accept
Returns:
true, if the filter accepts the file. false , otherwise


European Bioinformatics InstituteMicroarray Informatics Team