|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tools.ant.taskdefs.optional.extension.resolvers.URLResolver
public class URLResolver
Resolver that just returns s specified location.
| Constructor Summary | |
|---|---|
URLResolver()
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public URLResolver()
| Method Detail |
|---|
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 directory
public java.io.File resolve(Extension extension,
Project project)
throws BuildException
resolve in interface ExtensionResolverextension - the extensionproject - the project
BuildException - if the URL is invalidpublic java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||