public interface WebdavClient
extends com.googlecode.sardine.Sardine
| Modifier and Type | Method and Description |
|---|---|
void |
putDocument(String parentHref,
File file,
String fileName)
Adds the input file to the remote folder identified by parentHrf, optionally setting a custom
file.name
|
void |
putFolder(String parentHref,
File folder,
String folderName)
Adds recursively input folder and all its contents under the provided parentPath
|
com.googlecode.sardine.DavResource |
updateDocument(String resourceHref,
File document)
Lock the resource, upload the document content provided as input and finally unlock the resource
|
copy, createDirectory, delete, disableCompression, disablePreemptiveAuthentication, enableCompression, enablePreemptiveAuthentication, exists, get, get, getResources, list, list, lock, move, patch, patch, put, put, put, put, put, put, setCredentials, setCredentials, setCustomProps, unlockcom.googlecode.sardine.DavResource updateDocument(String resourceHref, File document) throws IOException
resourcePath - document - IOExceptionvoid putFolder(String parentHref, File folder, String folderName) throws IOException
parentHref - folder - the - folderName to be created on the server, in case it's different from folder.nameIOExceptionvoid putDocument(String parentHref, File file, String fileName) throws IOException
parentHref - document - the - fileName to be created on the server, in case it's different from file.nameIOExceptionCopyright © 2013. All Rights Reserved.