Class URLResolver
java.lang.Object
org.apache.tools.ant.taskdefs.optional.extension.resolvers.URLResolver
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the file resolved from URL and directoryvoidsetDestdir(File destdir) Sets the destination directoryvoidsetDestfile(File destfile) Sets the destination filevoidSets 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:
resolvein interfaceExtensionResolver- Parameters:
extension- the extensionproject- the project- Returns:
- file the file resolved
- Throws:
BuildException- if the URL is invalid
-
toString
-