Class SPARQLCSVResultWriter.CSVRWFactory
java.lang.Object
com.stardog.stark.query.io.text.csv.SPARQLCSVResultWriter.CSVRWFactory
- All Implemented Interfaces:
QueryResultWriterFactory
- Enclosing class:
SPARQLCSVResultWriter
public static final class SPARQLCSVResultWriter.CSVRWFactory
extends Object
implements QueryResultWriterFactory
Factory for creating SPARQLCSVResultWriter
- Since:
- 1.0
- Version:
- 1.0
- Author:
- Michael Grove
-
Constructor Details
-
CSVRWFactory
public CSVRWFactory()
-
-
Method Details
-
format
Theformatsupported by writers created by this factory- Specified by:
formatin interfaceQueryResultWriterFactory- Returns:
- the supported format
-
create
@Nonnull public QueryResultWriter create(@Nonnull OutputStream theOutputStream, @Nonnull Options theOptions) Create thewriter- Specified by:
createin interfaceQueryResultWriterFactory- Parameters:
theOutputStream- the output to write totheOptions- the options to use when writing- Returns:
- the writer
- See Also:
-