Interface WebDavService
-
- All Known Implementing Classes:
WebDavServiceImpl
@Deprecated public interface WebDavService
Deprecated.This service has been replaced byWebDavService
Defines the operations available for a WebDAV server.- Author:
- joseross
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description List<WebDavItem>
list(String site, String profileId, String path, String type)
Deprecated.Lists resources in the specified path.String
upload(String site, String profileId, String path, String filename, InputStream content)
Deprecated.Uploads a file in the specified path.
-
-
-
Method Detail
-
list
List<WebDavItem> list(String site, String profileId, String path, String type) throws WebDavException
Deprecated.Lists resources in the specified path.- Parameters:
site
- the name of the siteprofileId
- the id of the profilepath
- the relative path to listtype
- mime type used for filtering- Returns:
- list of resources found
- Throws:
WebDavException
- if there is an error connecting to the server or listing the resources
-
upload
String upload(String site, String profileId, String path, String filename, InputStream content) throws WebDavException
Deprecated.Uploads a file in the specified path.- Parameters:
site
- the name of the siteprofileId
- the id of the profilepath
- the relative path to upload the filefilename
- the name of the file to uploadcontent
- stream providing the content of the file- Returns:
- the full URL of the uploaded file
- Throws:
WebDavException
- if there is an error connecting to the server or uploading the file
-
-