nl.hippo.client.webdav
Class AbstractWebdavConfig
java.lang.Object
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
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
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)
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.