|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SameAsService
It models the methods that a sameas.org client must expose.
| Method Summary | |
|---|---|
EquivalenceList |
getDuplicates(String keyword)
It returns a list of Equivalence objects
identifying equivalent URI |
Equivalence |
getDuplicates(URI uri)
It returns a set of URI identifying equivalent
resources to the input URI. |
void |
setCache(Cache cache)
|
| Method Detail |
|---|
Equivalence getDuplicates(URI uri)
throws SameAsServiceException
URI identifying equivalent
resources to the input URI.
uri - the URI for which the equivalence has to be known.
SameAsServiceException - if an HTTP or JSON parse error occurs.
EquivalenceList getDuplicates(String keyword)
throws SameAsServiceException
Equivalence objects
identifying equivalent URI for every possible co-reference
match.
See also the official SameAs.org documentation.
- Parameters:
keyword - the keyword for which the equivalence has to be known.
- Returns:
- a list of possible equivalences.
- Throws:
SameAsServiceException - if an HTTP or JSON parse error occurs.
void setCache(Cache cache)
cache -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||