MimeTypesHelper Methods |
The MimeTypesHelper type exposes the following members.
| 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.
|