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