public class SardineWebdavClient extends com.googlecode.sardine.impl.SardineImpl implements WebdavClient
| Constructor and Description |
|---|
SardineWebdavClient(org.apache.http.client.HttpClient httpClient) |
SardineWebdavClient(org.apache.http.client.HttpClient httpClient,
String authenticatedHost) |
| 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 targetHref,
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, createDefaultClient, createDefaultConnectionManager, createDefaultHttpParams, createDefaultRoutePlanner, createDefaultSchemeRegistry, createDefaultSecureSocketFactory, createDefaultSocketFactory, createDirectory, delete, disableCompression, disablePreemptiveAuthentication, enableCompression, enablePreemptiveAuthentication, execute, execute, exists, get, get, getResources, list, list, lock, move, patch, patch, put, put, put, put, put, put, put, put, setCredentials, setCredentials, setCustomProps, unlockclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcopy, 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, unlockpublic SardineWebdavClient(org.apache.http.client.HttpClient httpClient)
public SardineWebdavClient(org.apache.http.client.HttpClient httpClient,
String authenticatedHost)
public void putFolder(String targetHref, File folder, String folderName) throws IOException
WebdavClientputFolder in interface WebdavClientIOExceptionpublic com.googlecode.sardine.DavResource updateDocument(String resourceHref, File document) throws IOException
WebdavClientupdateDocument in interface WebdavClientIOExceptionpublic void putDocument(String parentHref, File file, String fileName) throws IOException
WebdavClientputDocument in interface WebdavClientIOExceptionCopyright © 2013. All Rights Reserved.