Class TriGStarWriter

All Implemented Interfaces:
CharSink, Sink, RDFHandler, RDFWriter

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

    • TriGStarWriter

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

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

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

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