org.openrdf.repository.http.config
Class HTTPRepositoryConfig
java.lang.Object
org.openrdf.repository.config.RepositoryImplConfigBase
org.openrdf.repository.http.config.HTTPRepositoryConfig
- All Implemented Interfaces:
- RepositoryImplConfig
public class HTTPRepositoryConfig
- extends RepositoryImplConfigBase
- Author:
- Arjohn Kampman
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HTTPRepositoryConfig
public HTTPRepositoryConfig()
HTTPRepositoryConfig
public HTTPRepositoryConfig(String url)
getURL
public String getURL()
setURL
public void setURL(String url)
getUsername
public String getUsername()
setUsername
public void setUsername(String username)
getPassword
public String getPassword()
setPassword
public void setPassword(String password)
validate
public void validate()
throws RepositoryConfigException
- Description copied from interface:
RepositoryImplConfig
- Validates this configuration. A
RepositoryConfigException is
thrown when the configuration is invalid. The exception should contain an
error message that indicates why the configuration is invalid.
- Specified by:
validate in interface RepositoryImplConfig- Overrides:
validate in class RepositoryImplConfigBase
- Throws:
RepositoryConfigException - If the configuration is invalid.
export
public Resource export(Graph graph)
- Specified by:
export in interface RepositoryImplConfig- Overrides:
export in class RepositoryImplConfigBase
parse
public void parse(Graph graph,
Resource implNode)
throws RepositoryConfigException
- Specified by:
parse in interface RepositoryImplConfig- Overrides:
parse in class RepositoryImplConfigBase
- Throws:
RepositoryConfigException
Copyright © 2001-2008 Aduna. All Rights Reserved.