ApiDownloader

public class ApiDownloader implements Runnable

Constructors

ApiDownloader

public ApiDownloader(ContentsDialog.ContentType contentType, String outputDirPath, URL urlContent, URL urlData)

ApiDownloader

public ApiDownloader(ContentsDialog.ContentType contentType, String outputDirPath, String urlStringContent, String urlStringData)

Methods

addListener

public void addListener(ApiDownloaderListener listener)

getContent

public ApiContentResponse getContent()

getContentType

public ContentsDialog.ContentType getContentType()

getDownloadedContent

public int getDownloadedContent()

getOutputContentFile

public File getOutputContentFile()

getOutputDataFile

public File getOutputDataFile()

getProgress

public float getProgress()

getSizeContent

public int getSizeContent()

getStatus

public Status getStatus()

getUrlContent

public URL getUrlContent()

getUrlData

public URL getUrlData()

initOwner

public void initOwner(Stage owner)

pause

public void pause()

resume

public void resume()

run

public void run()

setContent

public void setContent(ApiContentResponse content)

stop

public void stop()