org.openrdf.rio
Interface RDFWriterFactory

All Known Implementing Classes:
N3WriterFactory, NTriplesWriterFactory, RDFXMLPrettyWriterFactory, RDFXMLWriterFactory, TriGWriterFactory, TriXWriterFactory, TurtleWriterFactory

public interface RDFWriterFactory

A RDFWriterFactory returns RDFWriters for a specific RDF format.

Author:
Arjohn Kampman

Method Summary
 RDFFormat getRDFFormat()
          Returns the RDF format for this factory.
 RDFWriter getWriter(java.io.OutputStream out)
          Returns an RDFWriter instance that will write to the supplied output stream.
 RDFWriter getWriter(java.io.Writer writer)
          Returns an RDFWriter instance that will write to the supplied writer.
 

Method Detail

getRDFFormat

RDFFormat getRDFFormat()
Returns the RDF format for this factory.


getWriter

RDFWriter getWriter(java.io.OutputStream out)
Returns an RDFWriter instance that will write to the supplied output stream.

Parameters:
out - The OutputStream to write the RDF to.

getWriter

RDFWriter getWriter(java.io.Writer writer)
Returns an RDFWriter instance that will write to the supplied writer.

Parameters:
writer - The Writer to write the RDF to.


Copyright © 2001-2010 Aduna. All Rights Reserved.