Package org.eclipse.rdf4j.rio.trigstar
Class TriGStarWriterFactory
- java.lang.Object
-
- org.eclipse.rdf4j.rio.trigstar.TriGStarWriterFactory
-
- All Implemented Interfaces:
RDFWriterFactory
public class TriGStarWriterFactory extends Object implements RDFWriterFactory
AnRDFWriterFactoryfor TriG-star writers.- Author:
- Pavel Mihaylov
-
-
Constructor Summary
Constructors Constructor Description TriGStarWriterFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RDFFormatgetRDFFormat()ReturnsRDFFormat.TRIGSTAR.RDFWritergetWriter(OutputStream out)Returns a new instance ofTriGStarWriter.RDFWritergetWriter(OutputStream out, String baseURI)Returns a new instance ofTriGStarWriter.RDFWritergetWriter(Writer writer)Returns a new instance ofTriGStarWriter.RDFWritergetWriter(Writer writer, String baseURI)Returns a new instance ofTriGStarWriter.
-
-
-
Method Detail
-
getRDFFormat
public RDFFormat getRDFFormat()
ReturnsRDFFormat.TRIGSTAR.- Specified by:
getRDFFormatin interfaceRDFWriterFactory
-
getWriter
public RDFWriter getWriter(OutputStream out)
Returns a new instance ofTriGStarWriter.- Specified by:
getWriterin interfaceRDFWriterFactory- Parameters:
out- The OutputStream to write the RDF to.
-
getWriter
public RDFWriter getWriter(OutputStream out, String baseURI) throws URISyntaxException
Returns a new instance ofTriGStarWriter.- Specified by:
getWriterin interfaceRDFWriterFactory- Parameters:
out- The OutputStream to write the RDF to.baseURI- The URI associated with the data in the InputStream.- Throws:
URISyntaxException
-
getWriter
public RDFWriter getWriter(Writer writer)
Returns a new instance ofTriGStarWriter.- Specified by:
getWriterin interfaceRDFWriterFactory- Parameters:
writer- The Writer to write the RDF to.
-
getWriter
public RDFWriter getWriter(Writer writer, String baseURI) throws URISyntaxException
Returns a new instance ofTriGStarWriter.- Specified by:
getWriterin interfaceRDFWriterFactory- Parameters:
writer- The Writer to write the RDF to.baseURI- The URI associated with the data in the InputStream.- Throws:
URISyntaxException
-
-