nl.hippo.client.webdav
Class WebdavConfig

java.lang.Object
  extended by nl.hippo.client.webdav.AbstractWebdavConfig
      extended by nl.hippo.client.webdav.WebdavConfig
All Implemented Interfaces:
Serializable

public final class WebdavConfig
extends AbstractWebdavConfig

Configuration class, each implementation of WebdavMethod has one constructor with a WebdavConfig as parameter.

Implemented as a Value Object which means that:

See Also:
Serialized Form

Field Summary
 
Fields inherited from class nl.hippo.client.webdav.AbstractWebdavConfig
WEBDAV_CONTEXTROOT, WEBDAV_FILESPATH, WEBDAV_HOST, WEBDAV_LOGLABEL, WEBDAV_NAMESPACE, WEBDAV_PASSWORD, WEBDAV_PORT, WEBDAV_PROTOCOL, WEBDAV_REALM, WEBDAV_SEARCHNOACL, WEBDAV_USERNAME
 
Constructor Summary
WebdavConfig(InputStream stream)
          Read configuration from an InputStream on a properties file.
WebdavConfig(Properties config)
          Read configuration from a Properties object
WebdavConfig(WebdavConfigFactory config)
          Read property values from a WebdavConfigFactory instance
 
Method Summary
 boolean equals(Object obj)
           
 int hashCode()
           
 
Methods inherited from class nl.hippo.client.webdav.AbstractWebdavConfig
getBasePath, getContextRoot, getFilespath, getHost, getLoglabel, getNamespace, getPassword, getPort, getProtocol, getRealm, getSearchNoACL, getUsername, save
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebdavConfig

public WebdavConfig(InputStream stream)
             throws ClientException
Read configuration from an InputStream on a properties file.

Parameters:
stream - An InputStream on a properties file.
Throws:
ClientException - if something went wrong.

WebdavConfig

public WebdavConfig(Properties config)
Read configuration from a Properties object


WebdavConfig

public WebdavConfig(WebdavConfigFactory config)
Read property values from a WebdavConfigFactory instance

Parameters:
config - a WebdavConfigFactory instance
See Also:
WebdavConfigFactory
Method Detail

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2006-2009 Hippo. All Rights Reserved.