net.rootdev.javardfa
Class SesameUtils

java.lang.Object
  extended by net.rootdev.javardfa.SesameUtils

public class SesameUtils
extends Object

Author:
hjs

Constructor Summary
SesameUtils()
           
 
Method Summary
static org.openrdf.repository.RepositoryConnection fetchResource(URL actualUrl, org.openrdf.rio.RDFFormat rdfFormat)
           
static String getContentAsString(URL url)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SesameUtils

public SesameUtils()
Method Detail

getContentAsString

public static String getContentAsString(URL url)
                                 throws IOException
Throws:
IOException

fetchResource

public static org.openrdf.repository.RepositoryConnection fetchResource(URL actualUrl,
                                                                        org.openrdf.rio.RDFFormat rdfFormat)
                                                                 throws org.openrdf.sail.SailException,
                                                                        org.openrdf.repository.RepositoryException,
                                                                        org.openrdf.rio.RDFParseException,
                                                                        IOException,
                                                                        MalformedURLException
Throws:
org.openrdf.sail.SailException
org.openrdf.repository.RepositoryException
org.openrdf.rio.RDFParseException
IOException
MalformedURLException


Copyright © 2009-2010. All Rights Reserved.