Class URLResolver
java.lang.Object
org.apache.tools.ant.taskdefs.optional.extension.resolvers.URLResolver
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the file resolved from URL and directoryvoid
setDestdir
(File destdir) Sets the destination directoryvoid
setDestfile
(File destfile) Sets the destination filevoid
Sets the URLtoString()
Returns a string representation of the URL
-
Constructor Details
-
URLResolver
public URLResolver()
-
-
Method Details
-
setUrl
-
setDestfile
Sets the destination file- Parameters:
destfile
- the destination file
-
setDestdir
Sets the destination directory- Parameters:
destdir
- the destination directory
-
resolve
Returns the file resolved from URL and directory- Specified by:
resolve
in interfaceExtensionResolver
- Parameters:
extension
- the extensionproject
- the project- Returns:
- file the file resolved
- Throws:
BuildException
- if the URL is invalid
-
toString
-