|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.fuberlin.wiwiss.marbles.loading.SemanticWebClient
public class SemanticWebClient
Provides functionalities to load URLs and to discover related data by means of data providers.
Constructor Summary | |
---|---|
SemanticWebClient(CacheController cacheController,
SpongerProvider spongerProvider,
java.util.Collection<DataProvider> dataProviders)
Constructs a new SemanticWebClient |
Method Summary | |
---|---|
java.util.List<org.apache.commons.httpclient.URI> |
discoverResource(org.openrdf.model.Resource resource,
boolean wait)
Initiates a DereferencerBatch to retrieve data for a given resource |
void |
loadURL(org.apache.commons.httpclient.URI url,
boolean wait)
Loads a given URL into the cache using a DereferencerBatch |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SemanticWebClient(CacheController cacheController, SpongerProvider spongerProvider, java.util.Collection<DataProvider> dataProviders)
SemanticWebClient
cacheController
- spongerProvider
- dataProviders
- Method Detail |
---|
public java.util.List<org.apache.commons.httpclient.URI> discoverResource(org.openrdf.model.Resource resource, boolean wait)
DereferencerBatch
to retrieve data for a given resource
resource
-
public void loadURL(org.apache.commons.httpclient.URI url, boolean wait)
DereferencerBatch
url
- The URL to be loadedwait
- If true, the method returns after the request has been processed
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |