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(OutputStream out,
String baseURI)
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.
|
RDFWriter |
getWriter(Writer writer,
String baseURI)
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(OutputStream out, String baseURI) throws URISyntaxException
out
- The OutputStream to write the RDF to.baseURI
- The URI associated with the data in the InputStream.URISyntaxException
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
RDFWriter getWriter(Writer writer, String baseURI) throws URISyntaxException
writer
- The Writer to write the RDF to.baseURI
- The URI associated with the data in the InputStream.URISyntaxException
UnsupportedOperationException
- if the RDFWriter the specific format does not support writing to a
Writer
Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.