MimeTypesHelperGetSparqlParser Method (String, Boolean) |
Selects an appropriate
ISparqlResultsReader based on the HTTP Content-Type header from a HTTP Response.
Namespace:
VDS.RDF
Assembly:
dotNetRDF (in dotNetRDF.dll) Version:
Syntax public static ISparqlResultsReader GetSparqlParser(
string contentType,
bool allowPlainTextResults
)
Public Shared Function GetSparqlParser (
contentType As String,
allowPlainTextResults As Boolean
) As ISparqlResultsReader
Parameters
- contentType
- Type: SystemString
Value of the HTTP Content-Type Header. - allowPlainTextResults
- Type: SystemBoolean
Whether you allow Sparql Boolean results in text/plain format (Boolean results in text/boolean are handled properly but text/plain results can be conflated with CONSTRUCT/DESCRIBE results in NTriples format).
Return Value
Type:
ISparqlResultsReader[Missing <returns> documentation for "M:VDS.RDF.MimeTypesHelper.GetSparqlParser(System.String,System.Boolean)"]
See Also