Class JSONLDWriter.JSONLDWriterFactory

java.lang.Object
com.stardog.stark.io.jsonld.JSONLDWriter.JSONLDWriterFactory
All Implemented Interfaces:
RDFWriterFactory
Enclosing class:
JSONLDWriter

public static final class JSONLDWriter.JSONLDWriterFactory extends Object implements RDFWriterFactory

Since:
1.0
Version:
1.0
Author:
Michael Grove
  • Constructor Details

    • JSONLDWriterFactory

      public JSONLDWriterFactory()
  • Method Details

    • format

      @Nonnull public RDFFormat format()
      The format this writer will serialize output in
      Specified by:
      format in interface RDFWriterFactory
      Returns:
      the format
    • create

      @Nonnull public RDFWriter create(@Nonnull OutputStream theStream, @Nonnull Options theOptions)
      Create a new `RDFWriter`
      Specified by:
      create in interface RDFWriterFactory
      Parameters:
      theStream - the stream to write to
      theOptions - the writer options
      Returns:
      the new `RDFWriter`