phing-types-selectors
[ class tree: phing-types-selectors ] [ index: phing-types-selectors ] [ all elements ]

Class: FileSelector

Source Location: /types/selectors/FileSelector.php

Interface Overview


This is the interface to be used by all selectors.


Author(s):

  • Hans Lellelid, hans@xmpl.org (Phing)
  • Bruce Atherton, bruce@callenish.com (Ant)

Methods



Class Details

[line 30]
This is the interface to be used by all selectors.



Tags:

author:  Hans Lellelid, hans@xmpl.org (Phing)
author:  Bruce Atherton, bruce@callenish.com (Ant)


[ Top ]


Class Methods


method isSelected [line 44]

whether isSelected( $basedir, filename $filename, $file)

Method that each selector will implement to create their selection behaviour. If there is a problem with the setup of a selector, it can throw a BuildException to indicate the problem.



Tags:

return:  the file should be selected or not
throws:  BuildException if the selector was not configured correctly
access:  public


Parameters:

basedir   $basedir   A PhingFile object for the base directory
filename   $filename   The name of the file to check
file   $file   A PhingFile object for this filename

[ Top ]


Documentation generated on Mon, 19 Oct 2009 10:50:56 +0200 by phpDocumentor 1.4.3