org.apache.tools.ant.taskdefs.optional.extension.resolvers
Class URLResolver
java.lang.Object
org.apache.tools.ant.taskdefs.optional.extension.resolvers.URLResolver
- ExtensionResolver
public class URLResolver
extends java.lang.Object
Resolver that just returns s specified location.
File | resolve(Extension extension, Project project) - Returns the file resolved from URL and directory
|
void | setDestdir(File destdir) - Sets the destination directory
|
void | setDestfile(File destfile) - Sets the destination file
|
void | setUrl(URL url) - Sets the URL
|
String | toString() - Returns a string representation of the URL
|
setDestdir
public void setDestdir(File destdir)
Sets the destination directory
destdir
- the destination directory
setDestfile
public void setDestfile(File destfile)
Sets the destination file
destfile
- the destination file
setUrl
public void setUrl(URL url)
Sets the URL
toString
public String toString()
Returns a string representation of the URL
- the string representation
Copyright B) 2000-2007 Apache Software Foundation. All Rights Reserved.