org.jtheque.core.managers.update.actions
Class DownloadAction

java.lang.Object
  extended by org.jtheque.core.managers.update.actions.AbstractUpdateAction
      extended by org.jtheque.core.managers.update.actions.DownloadAction
All Implemented Interfaces:
UpdateAction

public final class DownloadAction
extends AbstractUpdateAction

An update action that download a file.

Author:
Baptiste Wicht

Constructor Summary
DownloadAction()
           
 
Method Summary
 void execute()
          Execute the action.
 void setUrl(java.lang.String url)
          Set the URL of the file to download.
 
Methods inherited from class org.jtheque.core.managers.update.actions.AbstractUpdateAction
setFile, setFolder
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DownloadAction

public DownloadAction()
Method Detail

execute

public void execute()
Description copied from interface: UpdateAction
Execute the action.


setUrl

public void setUrl(java.lang.String url)
Set the URL of the file to download.

Parameters:
url - The URL.


Copyright © 2009 JTheque. All Rights Reserved.