be.re.webdav
Class Properties

java.lang.Object
  extended by be.re.webdav.Properties

public class Properties
extends Object

Gets and sets dead WebDAV properties (see section 3 of RFC 4918) with a name/value structure. The properties properties and meta in the respective namespaces urn:be-re:dav-cmd and urn:be-re:dav are supported. The former is for activities and views, a Pincette-specific type of resource. The latter is for document meta data.

Author:
Werner Donné

Nested Class Summary
static class Properties.Property
          Represents one property.
 
Constructor Summary
Properties()
           
 
Method Summary
static Properties.Property[] get(URL url, Client client)
          Duplicate properties will not be returned.
static void set(URL url, Client client, Properties.Property[] properties)
          Duplicate properties will not be stored.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Properties

public Properties()
Method Detail

get

public static Properties.Property[] get(URL url,
                                        Client client)
                                 throws IOException,
                                        be.re.net.ProtocolException
Duplicate properties will not be returned.

Throws:
IOException
be.re.net.ProtocolException

set

public static void set(URL url,
                       Client client,
                       Properties.Property[] properties)
                throws IOException,
                       be.re.net.ProtocolException
Duplicate properties will not be stored.

Throws:
IOException
be.re.net.ProtocolException