Package com.stardog.stark.io.trig
Class TrigWriter.TrigWriterFactory
- java.lang.Object
-
- com.stardog.stark.io.trig.TrigWriter.TrigWriterFactory
-
- All Implemented Interfaces:
RDFWriterFactory
- Enclosing class:
- TrigWriter
public static final class TrigWriter.TrigWriterFactory extends java.lang.Object implements RDFWriterFactory
Factory for
TrigWriter
- Since:
- 1.0
- Version:
- 1.0
- Author:
- Michael Grove
-
-
Constructor Summary
Constructors Constructor Description TrigWriterFactory()
-
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`
-
-