public interface Uploader extends ImageJPlugin, Progressable
Upload mechanisms discoverable at runtime must implement this interface and
be annotated with @Plugin
with attribute Plugin.type()
=
Uploader
.class. While it possible to create an upload mechanism
merely by implementing this interface, it is encouraged to instead extend
AbstractUploader
, for convenience.
Plugin
,
UploaderService
Modifier and Type | Method and Description |
---|---|
void |
calculateTotalSize(List<Uploadable> sources)
TODO
|
String |
getProtocol()
TODO
|
long |
getTimestamp()
TODO
|
boolean |
login(FilesUploader uploader)
TODO
|
void |
logout()
TODO
|
void |
upload(List<Uploadable> files,
List<String> locks)
TODO
|
addProgress, removeProgress
void upload(List<Uploadable> files, List<String> locks) throws IOException
IOException
void calculateTotalSize(List<Uploadable> sources)
boolean login(FilesUploader uploader)
void logout()
long getTimestamp()
String getProtocol()
Copyright © 2014–2022 ImageJ. All rights reserved.