ch.tatool.core.module.creator
Class FileDownloadWorker

java.lang.Object
  extended by ch.tatool.core.module.creator.FileDownloadWorker
All Implemented Interfaces:
Worker

public class FileDownloadWorker
extends Object
implements Worker


Constructor Summary
FileDownloadWorker()
           
 
Method Summary
 String getErrorText()
           
 String getErrorTitle()
           
 File getFile()
           
 Messages getMessages()
           
 boolean hasFinished()
           
 void loadFile(String url, int timeout)
          Loads the module file from the data server using the provided code.
 void setErrorText(String errorText)
           
 void setErrorTitle(String errorTitle)
           
 void setFile(File file)
           
 void setMessages(Messages messages)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileDownloadWorker

public FileDownloadWorker()
Method Detail

loadFile

public void loadFile(String url,
                     int timeout)
Loads the module file from the data server using the provided code.


hasFinished

public boolean hasFinished()
Specified by:
hasFinished in interface Worker

getFile

public File getFile()

setFile

public void setFile(File file)

getErrorTitle

public String getErrorTitle()
Specified by:
getErrorTitle in interface Worker

setErrorTitle

public void setErrorTitle(String errorTitle)

getErrorText

public String getErrorText()
Specified by:
getErrorText in interface Worker

setErrorText

public void setErrorText(String errorText)

setMessages

public void setMessages(Messages messages)

getMessages

public Messages getMessages()


Copyright © 2012. All Rights Reserved.