raccoon.core.file.endpoint.poller
Class FileFilter

java.lang.Object
  extended by raccoon.core.file.endpoint.poller.FileFilter
All Implemented Interfaces:
java.io.FilenameFilter

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

TODO Document this class.

Since:
Raccoon v1.0
Version:
$Id:$
Author:
Cedric ROUVRAIS

Constructor Summary
FileFilter(java.lang.String pPattern)
           
 
Method Summary
 boolean accept(java.io.File pFolder, java.lang.String pName)
          Tests if a specified file should be included in a file list.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileFilter

public FileFilter(java.lang.String pPattern)
Method Detail

accept

public boolean accept(java.io.File pFolder,
                      java.lang.String pName)
Tests if a specified file should be included in a file list.

Specified by:
accept in interface java.io.FilenameFilter
Parameters:
pFolder - the directory in which the file was found.
pName - the pName of the file.
Returns:
true if and only if the pName should be included in the file list; false otherwise.


Copyright null null. All Rights Reserved.