public class TriGWriterFactory extends Object implements RDFWriterFactory
RDFWriterFactory for TriG parsers.| Constructor and Description |
|---|
TriGWriterFactory() |
| Modifier and Type | Method and Description |
|---|---|
RDFFormat |
getRDFFormat()
Returns
RDFFormat.TRIG. |
RDFWriter |
getWriter(OutputStream out)
Returns a new instance of
TriGWriter. |
RDFWriter |
getWriter(Writer writer)
Returns a new instance of
TriGWriter. |
public RDFFormat getRDFFormat()
RDFFormat.TRIG.getRDFFormat in interface RDFWriterFactorypublic RDFWriter getWriter(OutputStream out)
TriGWriter.getWriter in interface RDFWriterFactoryout - The OutputStream to write the RDF to.public RDFWriter getWriter(Writer writer)
TriGWriter.getWriter in interface RDFWriterFactorywriter - The Writer to write the RDF to.Copyright © 2001–2015 Aduna. All rights reserved.