public interface RDFWriterFactory
RDFWriter
s for a specific RDF format.Modifier and Type | Method and Description |
---|---|
RDFFormat |
getRDFFormat()
Returns the RDF format for this factory.
|
RDFWriter |
getWriter(OutputStream out)
Returns an RDFWriter instance that will write to the supplied output
stream.
|
RDFWriter |
getWriter(Writer writer)
Returns an RDFWriter instance that will write to the supplied writer.
|
RDFFormat getRDFFormat()
RDFWriter getWriter(OutputStream out)
out
- The OutputStream to write the RDF to.RDFWriter getWriter(Writer writer)
writer
- The Writer to write the RDF to.UnsupportedOperationException
- if the RDFWriter the specific format does not support writing to a
Writer
Copyright © 2001-2016 Aduna. All Rights Reserved.