Package org.eclipse.rdf4j.rio.turtlestar
Class TurtleStarWriterFactory
- java.lang.Object
-
- org.eclipse.rdf4j.rio.turtlestar.TurtleStarWriterFactory
-
- All Implemented Interfaces:
RDFWriterFactory
public class TurtleStarWriterFactory extends Object implements RDFWriterFactory
AnRDFWriterFactoryfor Turtle-star writers.- Author:
- Pavel Mihaylov
-
-
Constructor Summary
Constructors Constructor Description TurtleStarWriterFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RDFFormatgetRDFFormat()ReturnsRDFFormat.TURTLESTAR.RDFWritergetWriter(OutputStream out)Returns a new instance ofTurtleStarWriter.RDFWritergetWriter(OutputStream out, String baseURI)RDFWritergetWriter(Writer writer)Returns a new instance ofTurtleStarWriter.RDFWritergetWriter(Writer writer, String baseURI)
-
-
-
Method Detail
-
getRDFFormat
public RDFFormat getRDFFormat()
ReturnsRDFFormat.TURTLESTAR.- Specified by:
getRDFFormatin interfaceRDFWriterFactory
-
getWriter
public RDFWriter getWriter(OutputStream out)
Returns a new instance ofTurtleStarWriter.- Specified by:
getWriterin interfaceRDFWriterFactory
-
getWriter
public RDFWriter getWriter(OutputStream out, String baseURI) throws URISyntaxException
- Specified by:
getWriterin interfaceRDFWriterFactory- Throws:
URISyntaxException
-
getWriter
public RDFWriter getWriter(Writer writer)
Returns a new instance ofTurtleStarWriter.- Specified by:
getWriterin interfaceRDFWriterFactory
-
getWriter
public RDFWriter getWriter(Writer writer, String baseURI) throws URISyntaxException
- Specified by:
getWriterin interfaceRDFWriterFactory- Throws:
URISyntaxException
-
-