org.openjena.riot.system
Class ContentNeg

java.lang.Object
  extended by org.openjena.riot.system.ContentNeg

public class ContentNeg
extends java.lang.Object


Constructor Summary
ContentNeg()
           
 
Method Summary
static java.lang.String guessMIMETypeFromFilename(java.lang.String filename)
           
static void main(java.lang.String... args)
           
static com.hp.hpl.jena.util.TypedStream negotiateFilename(java.lang.String filename)
           
static com.hp.hpl.jena.util.TypedStream negotiateHTTP(java.lang.String url)
           
 void read(com.hp.hpl.jena.rdf.model.Model model, java.lang.String url, java.lang.String baseIRI)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContentNeg

public ContentNeg()
Method Detail

main

public static void main(java.lang.String... args)
                 throws java.lang.Exception
Throws:
java.lang.Exception

read

public final void read(com.hp.hpl.jena.rdf.model.Model model,
                       java.lang.String url,
                       java.lang.String baseIRI)

negotiateFilename

public static com.hp.hpl.jena.util.TypedStream negotiateFilename(java.lang.String filename)
                                                          throws java.io.IOException
Throws:
java.io.IOException

guessMIMETypeFromFilename

public static java.lang.String guessMIMETypeFromFilename(java.lang.String filename)

negotiateHTTP

public static com.hp.hpl.jena.util.TypedStream negotiateHTTP(java.lang.String url)
                                                      throws java.io.IOException
Throws:
java.io.IOException


Copyright ? 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP Copyright ? 2010 Talis Systems Ltd. Copyright ? 2010, 2011 Epimorphics Ltd.