public class FilesUploader extends Object
Note: Files are uploaded differently:
Modifier and Type | Class and Description |
---|---|
protected class |
FilesUploader.DbXmlFile |
protected class |
FilesUploader.VerifyTimestamp |
Constructor and Description |
---|
FilesUploader(FilesCollection files,
String updateSite)
Deprecated.
|
FilesUploader(UploaderService uploaderService,
FilesCollection files,
String updateSite)
Deprecated.
|
FilesUploader(UploaderService uploaderService,
FilesCollection files,
String updateSite,
Progress progress) |
Modifier and Type | Method and Description |
---|---|
protected long |
getCurrentLastModified() |
String |
getDefaultUsername() |
FilesCollection |
getFilesCollection() |
LogService |
getLog() |
String |
getSiteName() |
String |
getUploadDirectory() |
String |
getUploadHost() |
boolean |
hasUploader() |
static FilesUploader |
initialUpload(String url,
String sshHost,
String uploadDirectory)
Deprecated.
|
static FilesUploader |
initialUploader(UploaderService uploaderService,
String url,
String sshHost,
String uploadDirectory,
Progress progress) |
boolean |
login() |
void |
logout() |
protected void |
updateUploadTimestamp(long timestamp) |
void |
upload(Progress progress) |
protected void |
verifyTimestamp() |
protected void |
verifyUnchanged(Uploadable file,
boolean checkTimestamp) |
@Deprecated public FilesUploader(FilesCollection files, String updateSite)
FilesUploader(UploaderService, FilesCollection, String, Progress)
instead@Deprecated public FilesUploader(UploaderService uploaderService, FilesCollection files, String updateSite)
FilesUploader(UploaderService, FilesCollection, String, Progress)
insteadpublic FilesUploader(UploaderService uploaderService, FilesCollection files, String updateSite, Progress progress)
public boolean hasUploader()
public FilesCollection getFilesCollection()
public String getSiteName()
public String getDefaultUsername()
public String getUploadHost()
public String getUploadDirectory()
protected void verifyUnchanged(Uploadable file, boolean checkTimestamp)
protected void updateUploadTimestamp(long timestamp) throws Exception
Exception
protected long getCurrentLastModified()
protected void verifyTimestamp()
public boolean login()
public void logout()
@Deprecated public static FilesUploader initialUpload(String url, String sshHost, String uploadDirectory)
public static FilesUploader initialUploader(UploaderService uploaderService, String url, String sshHost, String uploadDirectory, Progress progress)
public LogService getLog()
Copyright © 2014–2022 ImageJ. All rights reserved.