info.aduna.infosource
Interface InfoSource

All Superinterfaces:
org.openrdf.repository.Repository
All Known Implementing Classes:
CrawlingRepository, RemoteRepository

public interface InfoSource
extends org.openrdf.repository.Repository

InfoSource models the information that can be found in a specific type of data source, such as a file system, a website, a mail box or a database. InfoSources give access to the information in their data sources and provide functionality for updating their state.


Method Summary
 org.openrdf.model.URI prepareAccess(org.openrdf.model.URI uri)
          Returns a URI (typically representing a file of web page) that can be used to view the contents of the specified URI.
 
Methods inherited from interface org.openrdf.repository.Repository
getConnection, getDataDir, getValueFactory, initialize, isWritable, setDataDir, shutDown
 

Method Detail

prepareAccess

org.openrdf.model.URI prepareAccess(org.openrdf.model.URI uri)
Returns a URI (typically representing a file of web page) that can be used to view the contents of the specified URI.

Parameters:
URI - a URI of an information item returned by a query on the SesameRepository.
Returns:
The URI that can be opened to see the contents of the file. Typically this URI represents a web page or local file.


Copyright © 1997-2008 Aduna. All Rights Reserved.