public class HTTPBasedSameAsRetriever extends AbstractHttpRequestEmitter implements SameAsRetriever
client, closeClient, CONNECTION_ABORT_INDICATING_EXCPETION_MSG, name| Constructor and Description |
|---|
HTTPBasedSameAsRetriever() |
| Modifier and Type | Method and Description |
|---|---|
void |
addSameURIs(Set<String> uris) |
protected com.hp.hpl.jena.rdf.model.Model |
requestModel(String uri) |
Set<String> |
retrieveSameURIs(String uri)
Returns a Set containing the URIs having a sameAs link to this URI or
null if no such URIs could be found.
|
Set<String> |
retrieveSameURIs(String domain,
String uri)
Returns a Set containing the URIs having a sameAs link to this URI or
null if no such URIs could be found.
|
close, closeRequest, createGetRequest, createHeadRequest, createPostRequest, getClient, getName, interrupt, isCloseClient, sendRequest, sendRequest, setClient, setCloseClient, setNamepublic Set<String> retrieveSameURIs(String uri)
SingleUriSameAsRetrieverretrieveSameURIs in interface SingleUriSameAsRetrieveruri - the URI for which sameAs links should be discoveredprotected com.hp.hpl.jena.rdf.model.Model requestModel(String uri)
public void addSameURIs(Set<String> uris)
addSameURIs in interface SameAsRetrieverpublic Set<String> retrieveSameURIs(String domain, String uri)
SingleUriSameAsRetrieverretrieveSameURIs in interface SingleUriSameAsRetrieverdomain - the domain of the URIuri - the URI for which sameAs links should be discoveredCopyright © 2014–2017. All rights reserved.