nl.hippo.client.webdav
Class AbstractWebdavConfig

java.lang.Object
  extended by nl.hippo.client.webdav.AbstractWebdavConfig
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
WebdavConfig, WebdavConfigFactory

public abstract class AbstractWebdavConfig
extends Object
implements Serializable

Abstract base class for all configuration classes

See Also:
Serialized Form

Field Summary
static String WEBDAV_CONTEXTROOT
           
static String WEBDAV_FILESPATH
           
static String WEBDAV_HOST
           
static String WEBDAV_LOGLABEL
           
static String WEBDAV_NAMESPACE
           
static String WEBDAV_PASSWORD
           
static String WEBDAV_PORT
           
static String WEBDAV_PROTOCOL
           
static String WEBDAV_REALM
           
static String WEBDAV_SEARCHNOACL
           
static String WEBDAV_USERNAME
           
 
Constructor Summary
AbstractWebdavConfig()
           
AbstractWebdavConfig(InputStream stream)
          Read property values from an InputStream on a properties file.
AbstractWebdavConfig(Properties properties)
           
 
Method Summary
 DocumentPath getBasePath()
           
 String getContextRoot()
           
 String getFilespath()
           
 String getHost()
           
 String getLoglabel()
           
 String getNamespace()
           
 String getPassword()
           
 int getPort()
           
 String getProtocol()
           
 String getRealm()
           
 boolean getSearchNoACL()
           
 String getUsername()
           
 void save(OutputStream stream)
          Save the configuration to the specified OutputStream.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WEBDAV_HOST

public static final String WEBDAV_HOST
See Also:
Constant Field Values

WEBDAV_PORT

public static final String WEBDAV_PORT
See Also:
Constant Field Values

WEBDAV_PROTOCOL

public static final String WEBDAV_PROTOCOL
See Also:
Constant Field Values

WEBDAV_USERNAME

public static final String WEBDAV_USERNAME
See Also:
Constant Field Values

WEBDAV_PASSWORD

public static final String WEBDAV_PASSWORD
See Also:
Constant Field Values

WEBDAV_REALM

public static final String WEBDAV_REALM
See Also:
Constant Field Values

WEBDAV_CONTEXTROOT

public static final String WEBDAV_CONTEXTROOT
See Also:
Constant Field Values

WEBDAV_NAMESPACE

public static final String WEBDAV_NAMESPACE
See Also:
Constant Field Values

WEBDAV_FILESPATH

public static final String WEBDAV_FILESPATH
See Also:
Constant Field Values

WEBDAV_LOGLABEL

public static final String WEBDAV_LOGLABEL
See Also:
Constant Field Values

WEBDAV_SEARCHNOACL

public static final String WEBDAV_SEARCHNOACL
See Also:
Constant Field Values
Constructor Detail

AbstractWebdavConfig

public AbstractWebdavConfig()

AbstractWebdavConfig

public AbstractWebdavConfig(InputStream stream)
                     throws ClientException
Read property values from an InputStream on a properties file.

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

AbstractWebdavConfig

public AbstractWebdavConfig(Properties properties)
Method Detail

getBasePath

public DocumentPath getBasePath()

getUsername

public String getUsername()

getPassword

public String getPassword()

getHost

public String getHost()

getPort

public int getPort()

getProtocol

public String getProtocol()

getRealm

public String getRealm()

getContextRoot

public String getContextRoot()

getNamespace

public String getNamespace()

getFilespath

public String getFilespath()

getLoglabel

public String getLoglabel()

getSearchNoACL

public boolean getSearchNoACL()

save

public void save(OutputStream stream)
          throws ClientException
Save the configuration to the specified OutputStream.

Parameters:
stream - the OutputStream used to save the configuration to.
Throws:
ClientException - if an error occurs while writing to the output stream


Copyright © 2006-2009 Hippo. All Rights Reserved.