public class UriEncodingHandlingSameAsRetriever extends Object implements SingleUriSameAsRetriever
| Constructor and Description |
|---|
UriEncodingHandlingSameAsRetriever() |
| Modifier and Type | Method and Description |
|---|---|
protected static boolean |
containsEncodedParts(String uri,
int startPos)
Searches for encoded parts in the given URI starting from the given
index.
|
protected static int |
findLastPathSegment(String uri)
Searches the start position of the last part of a URIs path.
|
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.
|
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 discoveredprotected static boolean containsEncodedParts(String uri, int startPos)
protected static int findLastPathSegment(String uri)
uri - Copyright © 2014–2017. All rights reserved.