org.kohsuke.jnt.ant
Class FileDownloadTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by org.kohsuke.jnt.ant.AbstractJavaNetTask
              extended by org.kohsuke.jnt.ant.FileDownloadTask

public class FileDownloadTask
extends AbstractJavaNetTask

Log in to java.net then download a file. This can be used to download a protected resource.

Author:
Kohsuke Kawaguchi (kk@kohsuke.org)

Constructor Summary
FileDownloadTask()
           
 
Method Summary
 void setToFile(File localFile)
           
 void setURL(URL url)
           
 
Methods inherited from class org.kohsuke.jnt.ant.AbstractJavaNetTask
execute, setPassword, setRetry, setUserName
 
Methods inherited from class org.apache.tools.ant.Task
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, init, log, log, maybeConfigure, perform, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
getProject, setProject
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileDownloadTask

public FileDownloadTask()
Method Detail

setURL

public void setURL(URL url)

setToFile

public void setToFile(File localFile)


Copyright © 2003-2008 Kohsuke Kawaguchi. All Rights Reserved.