org.apache.tools.ant.taskdefs.optional.extension.resolvers
public class URLResolver extends Object implements ExtensionResolver
Method Summary | |
---|---|
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 |
Parameters: extension the extention project the project
Returns: file the file resolved
Throws: BuildException if the URL is invalid
Parameters: destdir the destination directory
Parameters: destfile the destination file
Parameters: url the url
Returns: the string representation