public class OutputWSConfig extends ConfigGroup
load(java.util.Properties)
, and thenConfigGroup.EnumDbConnectionType
Modifier and Type | Field and Description |
---|---|
static String |
GROUP_PREFIX
Prefix of names of properties belonging to this group.
|
CLEAN_DB_NAME, DIRTY_DB_NAME, NAME_DELIMITER
Constructor and Description |
---|
OutputWSConfig(URI resultDataURIPrefix,
Integer port,
String keywordPath,
String uriPath,
String metadataPath,
String namedGraphPath) |
Modifier and Type | Method and Description |
---|---|
String |
getKeywordPath() |
String |
getMetadataPath() |
String |
getNamedGraphPath() |
Integer |
getPort() |
URI |
getResultDataURIPrefix() |
String |
getUriPath() |
static OutputWSConfig |
load(Properties properties)
Extracts OutputWS configuration values from the given Properties instance.
|
loadJDBCConnectionCredentials, loadParam, loadSparqlEndpointConnectionCredentials
public static final String GROUP_PREFIX
public OutputWSConfig(URI resultDataURIPrefix, Integer port, String keywordPath, String uriPath, String metadataPath, String namedGraphPath)
resultDataURIPrefix
- Prefix of URIs used in results.port
- Port of the output webservicekeywordPath
- Relative path fragment for the keyword query over the output webserviceuriPath
- Relative path fragment for the uri query over the output webservicemetadataPath
- Relative path fragment for the metadata query over the output webservicenamedGraphPath
- Relative path fragment for the named graph query over the output webservicepublic static OutputWSConfig load(Properties properties) throws ParameterNotAvailableException, IllegalParameterFormatException
properties
- configuration propertiesParameterNotAvailableException
- exceptionIllegalParameterFormatException
- exceptionpublic URI getResultDataURIPrefix()
public Integer getPort()
public String getKeywordPath()
public String getUriPath()
public String getMetadataPath()
public String getNamedGraphPath()
Copyright © 2013. All Rights Reserved.