MimeTypesHelperGetWriter Method (String) |
Selects an appropriate
IRdfWriter based on the HTTP Accept header form a HTTP Request.
Namespace:
VDS.RDF
Assembly:
dotNetRDF (in dotNetRDF.dll) Version:
Syntax public static IRdfWriter GetWriter(
string acceptHeader
)
Public Shared Function GetWriter (
acceptHeader As String
) As IRdfWriter
Parameters
- acceptHeader
- Type: SystemString
Value of the HTTP Accept Header.
Return Value
Type:
IRdfWriterA 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