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

Class AntResolver

public class AntResolver extends Object implements ExtensionResolver

Resolver that just returns s specified location.
Method Summary
Fileresolve(Extension extension, Project project)
Returns the resolved file
voidsetAntfile(File antfile)
Sets the ant file
voidsetDestfile(File destfile)
Sets the destination file
voidsetTarget(String target)
Sets the target
StringtoString()
Returns a string representation

Method Detail

resolve

public File resolve(Extension extension, Project project)
Returns the resolved file

Parameters: extension the extension project the project

Returns: the file resolved

Throws: BuildException if the file cannot be resolved

setAntfile

public void setAntfile(File antfile)
Sets the ant file

Parameters: antfile the ant file to set

setDestfile

public void setDestfile(File destfile)
Sets the destination file

Parameters: destfile the destination file

setTarget

public void setTarget(String target)
Sets the target

Parameters: target the target

toString

public String toString()
Returns a string representation

Returns: the string representation