org.apache.jena.riot
Class ReaderRIOTBase

java.lang.Object
  extended by org.apache.jena.riot.ReaderRIOTBase
All Implemented Interfaces:
ReaderRIOT

public abstract class ReaderRIOTBase
extends Object
implements ReaderRIOT


Constructor Summary
ReaderRIOTBase()
           
 
Method Summary
 void read(InputStream in, String baseURI, ContentType ct, StreamRDF output, Context context)
          Read from an InputStream and output RDF on the StreamRDF.
abstract  void read(InputStream in, String baseURI, Lang lang, StreamRDF output, Context context)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.jena.riot.ReaderRIOT
getErrorHandler, getParserProfile, read, setErrorHandler, setParserProfile
 

Constructor Detail

ReaderRIOTBase

public ReaderRIOTBase()
Method Detail

read

public void read(InputStream in,
                 String baseURI,
                 ContentType ct,
                 StreamRDF output,
                 Context context)
Description copied from interface: ReaderRIOT
Read from an InputStream and output RDF on the StreamRDF.

Specified by:
read in interface ReaderRIOT
Parameters:
in - InputStream
baseURI - Base URI (or null)
ct - Content-Type if available. Routing to the right parser will have already been done so this only useful to get addition Content-Type information or if this ReaderRIOT can handle multiple media types.
output - Destintation for the parser output.
context - Environment settings.

read

public abstract void read(InputStream in,
                          String baseURI,
                          Lang lang,
                          StreamRDF output,
                          Context context)


Licenced under the Apache License, Version 2.0