org.openrdf.rio.n3
Class N3WriterFactory

java.lang.Object
  extended by org.openrdf.rio.n3.N3WriterFactory
All Implemented Interfaces:
RDFWriterFactory

public class N3WriterFactory
extends Object
implements RDFWriterFactory

An RDFWriterFactory for N3 writers.

Author:
Arjohn Kampman

Constructor Summary
N3WriterFactory()
           
 
Method Summary
 RDFFormat getRDFFormat()
          Returns RDFFormat.N3.
 RDFWriter getWriter(OutputStream out)
          Returns a new instance of N3Writer.
 RDFWriter getWriter(Writer writer)
          Returns a new instance of N3Writer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

N3WriterFactory

public N3WriterFactory()
Method Detail

getRDFFormat

public RDFFormat getRDFFormat()
Returns RDFFormat.N3.

Specified by:
getRDFFormat in interface RDFWriterFactory

getWriter

public RDFWriter getWriter(OutputStream out)
Returns a new instance of N3Writer.

Specified by:
getWriter in interface RDFWriterFactory
Parameters:
out - The OutputStream to write the RDF to.

getWriter

public RDFWriter getWriter(Writer writer)
Returns a new instance of N3Writer.

Specified by:
getWriter in interface RDFWriterFactory
Parameters:
writer - The Writer to write the RDF to.


Copyright © 2001-2010 Aduna. All Rights Reserved.