public class WikipediaApiBasedSingleUriSameAsRetriever extends AbstractHttpRequestEmitter implements SingleUriSameAsRetriever
client, closeClient, CONNECTION_ABORT_INDICATING_EXCPETION_MSG, name| Constructor and Description |
|---|
WikipediaApiBasedSingleUriSameAsRetriever() |
| Modifier and Type | Method and Description |
|---|---|
String |
queryRedirect(String domain,
String title) |
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 WikipediaApiBasedSingleUriSameAsRetriever()
public Set<String> retrieveSameURIs(String uri)
SingleUriSameAsRetrieverretrieveSameURIs in interface SingleUriSameAsRetrieveruri - the URI for which sameAs links should be discoveredpublic 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.