org.openrdf.rio.binary
Class BinaryRDFWriterFactory

java.lang.Object
  extended by org.openrdf.rio.binary.BinaryRDFWriterFactory
All Implemented Interfaces:
RDFWriterFactory

public class BinaryRDFWriterFactory
extends Object
implements RDFWriterFactory

An RDFWriterFactory for Binary RDF writers.

Author:
Arjohn Kampman

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

Constructor Detail

BinaryRDFWriterFactory

public BinaryRDFWriterFactory()
Method Detail

getRDFFormat

public RDFFormat getRDFFormat()
Returns RDFFormat.BINARY.

Specified by:
getRDFFormat in interface RDFWriterFactory

getWriter

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

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 BinaryRDFWriter.

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


Copyright © 2001-2012 Aduna. All Rights Reserved.