org.openjena.riot.system
Class ContentNeg

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

public class ContentNeg
extends Object


Constructor Summary
ContentNeg()
           
 
Method Summary
static String guessMIMETypeFromFilename(String filename)
           
static void main(String... args)
           
static com.hp.hpl.jena.util.TypedStream negotiateFilename(String filename)
           
static com.hp.hpl.jena.util.TypedStream negotiateHTTP(String url)
           
 void read(com.hp.hpl.jena.rdf.model.Model model, String url, 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(String... args)
                 throws Exception
Throws:
Exception

read

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

negotiateFilename

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

guessMIMETypeFromFilename

public static String guessMIMETypeFromFilename(String filename)

negotiateHTTP

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


Licenced under the Apache License, Version 2.0