public class URLResolver extends Object implements ExtensionResolver
| Constructor and Description |
|---|
URLResolver() |
| Modifier and Type | Method and Description |
|---|---|
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
|
public File resolve(Extension extension, Project project) throws BuildException
resolve in interface ExtensionResolverextension - the extensionproject - the projectBuildException - if the URL is invalidpublic void setDestdir(File destdir)
destdir - the destination directorypublic void setDestfile(File destfile)
destfile - the destination filepublic void setUrl(URL url)
url - the url