public class Downloader extends AbstractProgressable
Modifier and Type | Field and Description |
---|---|
protected boolean |
cancelled |
protected int |
count |
protected String |
error |
protected int |
itemCount |
protected int |
itemTotal |
protected long |
lastModified |
protected int |
total |
progress
Constructor and Description |
---|
Downloader()
Deprecated.
|
Downloader(Progress progress)
Deprecated.
|
Downloader(Progress progress,
UpdaterUtil util) |
Modifier and Type | Method and Description |
---|---|
void |
cancel() |
protected void |
download(Downloadable current) |
long |
getLastModified() |
void |
start(Downloadable justOne) |
void |
start(Iterable<Downloadable> files) |
addItem, addProgress, done, itemDone, removeProgress, setCount, setItemCount, setTitle
protected int count
protected int total
protected int itemCount
protected int itemTotal
protected long lastModified
protected String error
protected boolean cancelled
@Deprecated public Downloader()
@Deprecated public Downloader(Progress progress)
public Downloader(Progress progress, UpdaterUtil util)
public void cancel()
public void start(Downloadable justOne) throws IOException
IOException
public void start(Iterable<Downloadable> files) throws IOException
IOException
protected void download(Downloadable current) throws IOException
IOException
public long getLastModified()
Copyright © 2014–2022 ImageJ. All rights reserved.