org.apache.tools.ant.taskdefs.optional.extension.resolvers

Class AntResolver

Implemented Interfaces:
ExtensionResolver

public class AntResolver
extends java.lang.Object
implements ExtensionResolver

Resolver that just returns s specified location.

Version:
$Revision: 1.6.2.4 $ $Date: 2004/03/09 17:01:46 $

Method Summary

File
resolve(Extension extension, Project project)
Attempt to locate File that satisfies extension via resolver.
void
setAntfile(File antfile)
void
setDestfile(File destfile)
void
setTarget(String target)
String
toString()

Method Details

resolve

public File resolve(Extension extension,
                    Project project)
            throws BuildException
Attempt to locate File that satisfies extension via resolver.
Specified by:
resolve in interface ExtensionResolver

Parameters:
extension - the extension
project - the Ant project instance

Returns:
the File satisfying extension, null if can not resolve extension

Throws:
BuildException - if error occurs attempting to resolve extension


setAntfile

public void setAntfile(File antfile)


setDestfile

public void setDestfile(File destfile)


setTarget

public void setTarget(String target)


toString

public String toString()


Copyright B) 2000-2005 Apache Software Foundation. All Rights Reserved.