at.newmedialab.ldclient.service
Class LDClient

java.lang.Object
  extended by at.newmedialab.ldclient.service.LDClient

public class LDClient
extends Object

Add file description here!

Author: Sebastian Schaffert


Constructor Summary
LDClient()
           
 
Method Summary
 ClientResponse retrieveResource(org.openrdf.model.URI resource)
          Retrieve all triples for this resource from the Linked Data Cloud.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LDClient

public LDClient()
Method Detail

retrieveResource

public ClientResponse retrieveResource(org.openrdf.model.URI resource)
                                throws LDClientException
Retrieve all triples for this resource from the Linked Data Cloud. Retrieval will be carried out according to the endpoint definition that matches this resource. In case no endpoint definition is found, the method will try an "default" Linked Data retrieval if the configuration option "ldcache.fallback" is set to true

Parameters:
resource - the URI resource for which to retrieve the triples
Returns:
a Sesame in-memory repository containing the triples for this resource
Throws:
LDClientException


Copyright © 2012-2013 Salzburg Research. All Rights Reserved.