|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tools.ant.taskdefs.optional.extension.resolvers.AntResolver
public class AntResolver
Resolver that just returns s specified location.
Constructor Summary | |
---|---|
AntResolver()
|
Method Summary | |
---|---|
java.io.File |
resolve(Extension extension,
Project project)
Returns the resolved file |
void |
setAntfile(java.io.File antfile)
Sets the ant file |
void |
setDestfile(java.io.File destfile)
Sets the destination file |
void |
setTarget(java.lang.String target)
Sets the target |
java.lang.String |
toString()
Returns a string representation |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AntResolver()
Method Detail |
---|
public void setAntfile(java.io.File antfile)
antfile
- the ant file to setpublic void setDestfile(java.io.File destfile)
destfile
- the destination filepublic void setTarget(java.lang.String target)
target
- the targetpublic java.io.File resolve(Extension extension, Project project) throws BuildException
resolve
in interface ExtensionResolver
extension
- the extensionproject
- the project
BuildException
- if the file cannot be resolvedpublic java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |