public abstract class AbstractUploader extends AbstractProgressable implements Uploader
Modifier and Type | Field and Description |
---|---|
protected long |
timestamp |
protected int |
total |
protected String |
uploadDir |
progress
Constructor and Description |
---|
AbstractUploader() |
Modifier and Type | Method and Description |
---|---|
void |
calculateTotalSize(List<Uploadable> sources)
TODO
|
long |
getTimestamp()
TODO
|
boolean |
login(FilesUploader uploader)
TODO
|
void |
logout()
TODO
|
abstract void |
upload(List<Uploadable> files,
List<String> locks)
TODO
|
addItem, addProgress, done, itemDone, removeProgress, setCount, setItemCount, setTitle
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getProtocol
addProgress, removeProgress
protected String uploadDir
protected int total
protected long timestamp
public abstract void upload(List<Uploadable> files, List<String> locks) throws IOException
Uploader
upload
in interface Uploader
IOException
public void calculateTotalSize(List<Uploadable> sources)
Uploader
calculateTotalSize
in interface Uploader
public boolean login(FilesUploader uploader)
Uploader
public void logout()
Uploader
public long getTimestamp()
Uploader
getTimestamp
in interface Uploader
Copyright © 2014–2022 ImageJ. All rights reserved.