ExtensionResolverpublic class URLResolver extends java.lang.Object implements ExtensionResolver
| Constructor | Description |
|---|---|
URLResolver() |
| Modifier and Type | Method | Description |
|---|---|---|
java.io.File |
resolve(Extension extension,
Project project) |
Returns the file resolved from URL and directory
|
void |
setDestdir(java.io.File destdir) |
Sets the destination directory
|
void |
setDestfile(java.io.File destfile) |
Sets the destination file
|
void |
setUrl(java.net.URL url) |
Sets the URL
|
java.lang.String |
toString() |
Returns a string representation of the URL
|
public void setUrl(java.net.URL url)
url - the urlpublic void setDestfile(java.io.File destfile)
destfile - the destination filepublic void setDestdir(java.io.File destdir)
destdir - the destination directorypublic java.io.File resolve(Extension extension, Project project) throws BuildException
resolve in interface ExtensionResolverextension - the extensionproject - the projectBuildException - if the URL is invalidpublic java.lang.String toString()
toString in class java.lang.Object