Version: 1.1.1

org.biomoby.registry.rdfagent.util
Class SignatureURLConnection

java.lang.Object
  extended by 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

Constructor Summary
SignatureURLConnection()
          Constructor
 
Method Summary
 MobyService[] extractServicesFromURL(String url)
           
 Map getBadUrlMap()
           
 Vector getInvalidServicesFoundInRDF()
           
 com.hp.hpl.jena.rdf.model.Model getRdfFromURL(String url)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SignatureURLConnection

public SignatureURLConnection()
Constructor

Method Detail

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

Version: 1.1.1

Submit a bug or feature
Generated: Sat May 29 04:26:35 EDT 2010