Sardine

An easy to use WebDAV client for Java
Download

Sardine Ranking & Summary

Advertisement

  • Rating:
  • License:
  • The Apache License 2.0
  • Price:
  • FREE
  • Publisher Name:
  • Jon S. Stevens
  • Publisher web site:
  • http://code.google.com/p/kaptcha/

Sardine Tags


Sardine Description

An easy to use WebDAV client for Java Sardine is an application useful for interacting with a WebDAV server. Sardine is easier to use than the discontinued slide client and the nearly undocumented Jackrabbit client. There is also webdavclient4j, but it is just a slightly improved slide client.This is an example of how to get a directory listing from a remote webdav server:Sardine sardine = SardineFactory.begin();List< DavResource > resources = sardine.getResources("http://yourdavserver.com/adirectory/");for (DavResource res : resources){ System.out.println(res);}Developer commentsSardine doesn't implement a full webdav spec client and probably never will. Instead it is focused on being a useful library for common use cases. I also need it to support the latest version of HttpClient. Sardine abstracts away the connection details and provides easy to use methods to accomplish webdav actions.Sardine uses JAXB to process the XML responses from the webdav server. The generated code for this is based on the excellent webdav.xsd contained in the Apache Wink project.The UsageGuide documents how to use Sardine. Requirements: · Java 2 Standard Edition Runtime Environment


Sardine Related Software