com.enderak.procol.server.util
Class ProjectFileFilter

java.lang.Object
  |
  +--com.enderak.procol.server.util.ProjectFileFilter
All Implemented Interfaces:
java.io.FileFilter

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

Filter to determine if a file is a ProCol project directory

Author:
Justin Dieters

Constructor Summary
ProjectFileFilter()
           
 
Method Summary
 boolean accept(java.io.File pathname)
          Tests for pathname/pathname.props file to determine if pathname is a project directory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProjectFileFilter

public ProjectFileFilter()
Method Detail

accept

public boolean accept(java.io.File pathname)
Tests for pathname/pathname.props file to determine if pathname is a project directory

Specified by:
accept in interface java.io.FileFilter
Parameters:
pathname - The file to test
Returns:
True if pathname/pathname.props exists, indicating the file is a project directory