Class TurtleStarWriter

All Implemented Interfaces:
CharSink, Sink, RDFHandler, RDFWriter

public class TurtleStarWriter extends TurtleWriter
An extension of TurtleWriter that writes RDF-star documents in the Turtle-star format by including the RDF-star triples.
Author:
Pavel Mihaylov
  • Constructor Details

    • TurtleStarWriter

      public TurtleStarWriter(OutputStream out)
      Creates a new TurtleStarWriter that will write to the supplied OutputStream.
      Parameters:
      out - The OutputStream to write the TurtleStar document to.
    • TurtleStarWriter

      public TurtleStarWriter(OutputStream out, ParsedIRI baseIRI)
      Creates a new TurtleStarWriter that will write to the supplied OutputStream using the supplied base IRI.
      Parameters:
      out - The OutputStream to write the TurtleStar document to.
      baseIRI - The base IRI to use.
    • TurtleStarWriter

      public TurtleStarWriter(Writer writer)
      Creates a new TurtleStarWriter that will write to the supplied Writer.
      Parameters:
      writer - The Writer to write the TurtleStar document to.
    • TurtleStarWriter

      public TurtleStarWriter(Writer writer, ParsedIRI baseIRI)
      Creates a new TurtleStarWriter that will write to the supplied Writer using the supplied base IRI.
      Parameters:
      writer - The Writer to write the Turtle document to.
      baseIRI - The base IRI to use.
  • Method Details