Class AntResolver
- java.lang.Object
- 
- org.apache.tools.ant.taskdefs.optional.extension.resolvers.AntResolver
 
- 
- All Implemented Interfaces:
- ExtensionResolver
 
 public class AntResolver extends java.lang.Object implements ExtensionResolver Resolver that just returns s specified location.
- 
- 
Constructor SummaryConstructors Constructor Description AntResolver()
 - 
Method SummaryModifier and Type Method Description java.io.Fileresolve(Extension extension, Project project)Returns the resolved filevoidsetAntfile(java.io.File antfile)Sets the ant filevoidsetDestfile(java.io.File destfile)Sets the destination filevoidsetTarget(java.lang.String target)Sets the targetjava.lang.StringtoString()Returns a string representation
 
- 
- 
- 
Method Detail- 
setAntfilepublic void setAntfile(java.io.File antfile) Sets the ant file- Parameters:
- antfile- the ant file to set
 
 - 
setDestfilepublic void setDestfile(java.io.File destfile) Sets the destination file- Parameters:
- destfile- the destination file
 
 - 
setTargetpublic void setTarget(java.lang.String target) Sets the target- Parameters:
- target- the target
 
 - 
resolvepublic java.io.File resolve(Extension extension, Project project) throws BuildException Returns the resolved file- Specified by:
- resolvein interface- ExtensionResolver
- Parameters:
- extension- the extension
- project- the project
- Returns:
- the file resolved
- Throws:
- BuildException- if the file cannot be resolved
 
 - 
toStringpublic java.lang.String toString() Returns a string representation- Overrides:
- toStringin class- java.lang.Object
- Returns:
- the string representation
 
 
- 
 
-