org.biomoby.registry.rdfagent.util
Class SignatureURLConnection
java.lang.Object
org.biomoby.registry.rdfagent.util.SignatureURLConnection
public class SignatureURLConnection
- extends Object
This class retrieves the RDF from a url. Moreover, depending on the constants
in org.biomoby.registry.rdfagent.util.Constants, the registries data store
may be updated to reflect the success or failure of retrieval.
- Author:
- Eddie created Feb 1, 2006
SignatureURLConnection
public SignatureURLConnection()
- Constructor
getRdfFromURL
public com.hp.hpl.jena.rdf.model.Model getRdfFromURL(String url)
- Parameters:
url
- the url that is used to build the RDF model
- Returns:
- the model created by parsing the entity described by the url.
extractServicesFromURL
public MobyService[] extractServicesFromURL(String url)
- Parameters:
url
- to extract services from
- Returns:
- an array of MobyService objects
getBadUrlMap
public Map getBadUrlMap()
- Returns:
- a map consisting of a url as the key and a count (the number of
failed attempts to parse or resolve the url) as the value.
getInvalidServicesFoundInRDF
public Vector getInvalidServicesFoundInRDF()
- Returns:
- a vector of MobyService objects that represent invalid services
found while parsing the rdf
Submit a bug or feature
Generated: Sat May 29 04:26:35 EDT 2010