Click or drag to resize

MimeTypesHelperGetSparqlWriter Method (IEnumerableString)

Selects an appropriate ISparqlResultsWriter based on the given MIME Types.

Namespace:  VDS.RDF
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public static ISparqlResultsWriter GetSparqlWriter(
	IEnumerable<string> ctypes
)

Parameters

ctypes
Type: System.Collections.GenericIEnumerableString
MIME Types.

Return Value

Type: ISparqlResultsWriter
A Writer for a Content Type the client accepts.
Remarks

This method does not take account of any quality/charset preference parameters included in the Accept Header.

Global options pertaining to writers will be applied to the selected writer.

See Also