Class NTWriter.NTWriterFactory

java.lang.Object
com.stardog.stark.io.ntriples.NTWriter.NTWriterFactory
All Implemented Interfaces:
RDFWriterFactory
Enclosing class:
NTWriter

public static final class NTWriter.NTWriterFactory extends Object implements RDFWriterFactory
  • Constructor Details

    • NTWriterFactory

      public NTWriterFactory()
  • 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`