Class BinaryRDFWriter.BinaryRDFWriterFactory

java.lang.Object
com.stardog.stark.io.binary.BinaryRDFWriter.BinaryRDFWriterFactory
All Implemented Interfaces:
RDFWriterFactory
Enclosing class:
BinaryRDFWriter

public static final class BinaryRDFWriter.BinaryRDFWriterFactory extends Object implements RDFWriterFactory
Since:
1.0
Version:
1.0
Author:
Michael Grove
  • Constructor Details

    • BinaryRDFWriterFactory

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