MimeTypesHelper Class |
Namespace: VDS.RDF
The MimeTypesHelper type exposes the following members.
| Name | Description | |
|---|---|---|
| Definitions |
Gets the available MIME Type Definitions.
| |
| HttpAcceptHeader |
Builds the String for the HTTP Accept Header that should be used when you want to ask for content in RDF formats (except Sparql Results).
| |
| HttpRdfDatasetAcceptHeader |
Builds the String for the HTTP Accept Header that should be used for making HTTP Requests where the returned data will be an RDF dataset.
| |
| HttpRdfOrDatasetAcceptHeader |
Builds the String for the HTTP Accept Header that should be used for making HTTP Requests where the returned data may be RDF or an RDF dataset.
| |
| HttpRdfOrSparqlAcceptHeader |
Builds the String for the HTTP Accept Header that should be used for making HTTP Requests where the returned data may be RDF or a SPARQL Result Set.
| |
| HttpSparqlAcceptHeader |
Builds the String for the HTTP Accept Header that should be used for querying Sparql Endpoints where the response will be a SPARQL Result Set format.
| |
| SupportedRdfDatasetMimeTypes |
Gets the Enumeration of supported MIME Types for RDF Datasets.
| |
| SupportedRdfMimeTypes |
Gets the Enumeration of supported MIME Types for RDF Graphs.
| |
| SupportedRdfOrSparqlMimeTypes |
Gets the Enumeration of supported MIME Types for RDF Graphs or SPARQL Results.
| |
| SupportedSparqlMimeTypes |
Gets the Enumeration of supported MIME Types for SPARQL Results.
|
| Name | Description | |
|---|---|---|
| AddDefinition |
Adds a new MIME Type Definition.
| |
| ApplyParserOptions |
Applies global options to a parser.
| |
| CustomHttpAcceptHeader(IEnumerableString) |
Creates a Custom HTTP Accept Header containing the given selection of MIME Types.
| |
| CustomHttpAcceptHeader(IRdfReader) |
Creates a Custom HTTP Accept Header containing only the Accept Types supported by a specific parser.
| |
| CustomHttpAcceptHeader(IStoreReader) |
Creates a Custom HTTP Accept Header containing only the Accept Types supported by a specific parser.
| |
| CustomHttpAcceptHeader(IEnumerableString, IEnumerableString) |
Creates a Custom HTTP Accept Header containing the given selection of MIME Types where those MIME Types also appear in the list of supported Types.
| |
| GetDefinitions(IEnumerableString) |
Gets all MIME Type definitions which support the given MIME Types.
| |
| GetDefinitions(String) |
Gets all MIME Type definitions which support the given MIME Type.
| |
| GetDefinitionsByFileExtension |
Gets all MIME Types definitions which are associated with a given file extension.
| |
| GetFileExtension(String) |
Selects the appropriate File Extension for the given MIME Type.
| |
| GetFileExtension(IRdfWriter) |
Selects the appropriate File Extension for the given RDF Writer.
| |
| GetFileExtension(IStoreWriter) |
Selects the appropriate File Extension for the given Store Writer.
| |
| GetFilenameFilter |
Generates a Filename Filter that can be used with any .Net application and includes all formats that dotNetRDF is aware of.
| |
| GetFilenameFilter(Boolean, Boolean, Boolean, Boolean, Boolean, Boolean) |
Generates a Filename Filter that can be used with any .Net application and includes a user dictated subset of the formats that dotNetRDF is aware of.
| |
| GetMimeType(String) | Obsolete.
Selects the appropriate MIME Type for the given File Extension if the File Extension is a standard extension for an RDF format.
| |
| GetMimeType(IRdfWriter) |
Get the preferred MIME type that is registered for a specific writer.
| |
| GetMimeTypes | Obsolete.
Gets all the MIME Types associated with a given File Extension.
| |
| GetParser(IEnumerableString) |
Selects an appropriate IRdfReader based on the given MIME Types.
| |
| GetParser(String) |
Selects an appropriate IRdfReader based on the HTTP Content-Type header from a HTTP Response.
| |
| GetParserByFileExtension |
Selects a IRdfReader based on the file extension.
| |
| GetSparqlParser(String) |
Selects an appropriate ISparqlResultsReader based on the HTTP Content-Type header from a HTTP Response.
| |
| GetSparqlParser(IEnumerableString, Boolean) |
Selects a SPARQL Parser based on the MIME types.
| |
| GetSparqlParser(String, Boolean) |
Selects an appropriate ISparqlResultsReader based on the HTTP Content-Type header from a HTTP Response.
| |
| GetSparqlParserByFileExtension |
Selects a ISparqlResultsReader based on the file extension.
| |
| GetSparqlWriter(IEnumerableString) |
Selects an appropriate ISparqlResultsWriter based on the given MIME Types.
| |
| GetSparqlWriter(String) |
Selects an appropriate ISparqlResultsWriter based on the HTTP Accept header form a HTTP Request.
| |
| GetSparqlWriter(IEnumerableString, String) |
Selects an appropriate ISparqlResultsWriter based on the HTTP Accept header form a HTTP Request.
| |
| GetSparqlWriter(String, String) |
Selects an appropriate ISparqlResultsWriter based on the HTTP Accept header form a HTTP Request.
| |
| GetSparqlWriterByFileExtension(String) |
Selects a ISparqlResultsWriter based on a file extension.
| |
| GetSparqlWriterByFileExtension(String, String) |
Selects a ISparqlResultsWriter based on a file extension.
| |
| GetStoreParser(IEnumerableString) |
Selects a Store parser based on the MIME types.
| |
| GetStoreParser(String) |
Selects an appropriate IStoreReader based on the HTTP Content-Type header from a HTTP Response.
| |
| GetStoreParserByFileExtension |
Selects a Store parser based on the file extension.
| |
| GetStoreWriter(IEnumerableString) |
Selects an appropriate IStoreWriter based on the given MIME Types.
| |
| GetStoreWriter(String) |
Selects an appropriate IStoreWriter based on the HTTP Accept header form a HTTP Request.
| |
| GetStoreWriter(IEnumerableString, String) |
Selects an appropriate IStoreWriter based on the given MIME Types.
| |
| GetStoreWriter(String, String) |
Selects an appropriate IStoreWriter based on the HTTP Accept header form a HTTP Request.
| |
| GetStoreWriterByFileExtension(String) |
Selects a IStoreWriter by file extension.
| |
| GetStoreWriterByFileExtension(String, String) |
Selects a IStoreWriter by file extension.
| |
| GetTrueFileExtension |
Gets the true file extension for a filename.
| |
| GetTrueResourceExtension |
Gets the true extension for a resource.
| |
| GetWriter(IEnumerableString) |
Selects an appropriate IRdfWriter based on the given MIME Types.
| |
| GetWriter(String) |
Selects an appropriate IRdfWriter based on the HTTP Accept header form a HTTP Request.
| |
| GetWriter(IEnumerableString, String) |
Selects an appropriate IRdfWriter based on the given MIME Types.
| |
| GetWriter(String, String) |
Selects an appropriate IRdfWriter based on the HTTP Accept header form a HTTP Request.
| |
| GetWriterByFileExtension(String) |
Selects a IRdfWriter based on the file extension.
| |
| GetWriterByFileExtension(String, String) |
Selects a IRdfWriter based on the file extension.
| |
| RegisterParser(IRdfReader, IEnumerableString, IEnumerableString) |
Registers a parser as the default RDF Parser for all the given MIME types and updates relevant definitions to include the MIME types and file extensions.
| |
| RegisterParser(ISparqlResultsReader, IEnumerableString, IEnumerableString) |
Registers a parser as the default SPARQL Rsults Parser for all the given MIME types and updates relevant definitions to include the MIME types and file extensions.
| |
| RegisterParser(IStoreReader, IEnumerableString, IEnumerableString) |
Registers a parser as the default RDF Dataset Parser for all the given MIME types and updates relevant definitions to include the MIME types and file extensions.
| |
| RegisterWriter(IRdfWriter, IEnumerableString, IEnumerableString) |
Registers a writer as the default RDF Writer for all the given MIME types and updates relevant definitions to include the MIME types and file extensions.
| |
| RegisterWriter(ISparqlResultsWriter, IEnumerableString, IEnumerableString) |
Registers a writer as the default SPARQL Results Writer for all the given MIME types and updates relevant definitions to include the MIME types and file extensions.
| |
| RegisterWriter(IStoreWriter, IEnumerableString, IEnumerableString) |
Registers a writer as the default RDF Dataset Writer for all the given MIME types and updates relevant definitions to include the MIME types and file extensions.
| |
| ResetDefinitions |
Resets the MIME Type Definitions (the associations between file extensions, MIME types and their respective parsers and writers) to the library defaults.
|
| Name | Description | |
|---|---|---|
| Any |
MIME Type for accept any content Type.
| |
| CharsetUtf16 |
Charset constants.
| |
| CharsetUtf8 |
Charset constants.
| |
| DefaultCsvExtension |
Default File Extension for CSV.
| |
| DefaultGZipExtension |
Default File Extension for GZip.
| |
| DefaultHtmlExtension |
Default File Extension for HTML.
| |
| DefaultJsonExtension |
Default File Extension for Json formats.
| |
| DefaultJsonLdExtension |
Default file extension for JSON-LD formats.
| |
| DefaultNotation3Extension |
Default File Extension for Notation 3.
| |
| DefaultNQuadsExtension |
Default File Extension for NQuads.
| |
| DefaultNTriplesExtension |
Default File Extension for NTriples.
| |
| DefaultRdfJsonExtension |
Default File Extension for RDF/JSON.
| |
| DefaultRdfXmlExtension |
Default File Extension for RDF/XML.
| |
| DefaultSparqlJsonExtension |
Default File Extension for SPARQL JSON Results Format.
| |
| DefaultSparqlQueryExtension |
Default File Extension for SPARQL Queries.
| |
| DefaultSparqlUpdateExtension |
Default File Extension for SPARQL Updates.
| |
| DefaultSparqlXmlExtension |
Default File Extension for SPARQL XML Results Format.
| |
| DefaultTriGExtension |
Default File Extension for TriG.
| |
| DefaultTriXExtension |
Default File Extension for TriX.
| |
| DefaultTsvExtension |
Default File Extension for TSV.
| |
| DefaultTurtleExtension |
Default File Extension for Turtle Files.
| |
| DefaultXHtmlExtension |
Default File Extension for XHTML.
| |
| FormMultipart |
MIME Type for Multipart Form Data.
| |
| SparqlQuery |
MIME Type for SPARQL Queries.
| |
| SparqlResultsXml |
MIME Types for SPARQL Results XML.
| |
| SparqlUpdate |
MIME Type for SPARQL Updates.
| |
| Utf8WWWFormURLEncoded |
MIME Type for URL Enoded WWW Form Content used when POSTing over HTTP in UTF-8 encoding.
| |
| WWWFormURLEncoded |
MIME Type for URL Encoded WWW Form Content used when POSTing over HTTP.
|