Package com.stardog.stark.io.ntriples
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 java.lang.Object implements RDFWriterFactory
-
-
Constructor Summary
Constructors Constructor Description NTWriterFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RDFWriter
create(java.io.OutputStream theStream, Options theOptions)
Create a new `RDFWriter`RDFFormat
format()
Theformat
this writer will serialize output in
-
-
-
Method Detail
-
format
@Nonnull public RDFFormat format()
Theformat
this writer will serialize output in- Specified by:
format
in interfaceRDFWriterFactory
- Returns:
- the format
-
create
@Nonnull public RDFWriter create(@Nonnull java.io.OutputStream theStream, @Nonnull Options theOptions)
Create a new `RDFWriter`- Specified by:
create
in interfaceRDFWriterFactory
- Parameters:
theStream
- the stream to write totheOptions
- the writer options- Returns:
- the new `RDFWriter`
-
-