Click or drag to resize

MimeTypesHelper Methods

The MimeTypesHelper type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAddDefinition
Adds a new MIME Type Definition.
Public methodStatic memberApplyParserOptions
Applies global options to a parser.
Public methodStatic memberCustomHttpAcceptHeader(IEnumerableString)
Creates a Custom HTTP Accept Header containing the given selection of MIME Types.
Public methodStatic memberCustomHttpAcceptHeader(IRdfReader)
Creates a Custom HTTP Accept Header containing only the Accept Types supported by a specific parser.
Public methodStatic memberCustomHttpAcceptHeader(IStoreReader)
Creates a Custom HTTP Accept Header containing only the Accept Types supported by a specific parser.
Public methodStatic memberCustomHttpAcceptHeader(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.
Public methodStatic memberGetDefinitions(IEnumerableString)
Gets all MIME Type definitions which support the given MIME Types.
Public methodStatic memberGetDefinitions(String)
Gets all MIME Type definitions which support the given MIME Type.
Public methodStatic memberGetDefinitionsByFileExtension
Gets all MIME Types definitions which are associated with a given file extension.
Public methodStatic memberGetFileExtension(String)
Selects the appropriate File Extension for the given MIME Type.
Public methodStatic memberGetFileExtension(IRdfWriter)
Selects the appropriate File Extension for the given RDF Writer.
Public methodStatic memberGetFileExtension(IStoreWriter)
Selects the appropriate File Extension for the given Store Writer.
Public methodStatic memberGetFilenameFilter
Generates a Filename Filter that can be used with any .Net application and includes all formats that dotNetRDF is aware of.
Public methodStatic memberGetFilenameFilter(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.
Public methodStatic memberGetMimeType(String) Obsolete.
Selects the appropriate MIME Type for the given File Extension if the File Extension is a standard extension for an RDF format.
Public methodStatic memberGetMimeType(IRdfWriter)
Get the preferred MIME type that is registered for a specific writer.
Public methodStatic memberGetMimeTypes Obsolete.
Gets all the MIME Types associated with a given File Extension.
Public methodStatic memberGetParser(IEnumerableString)
Selects an appropriate IRdfReader based on the given MIME Types.
Public methodStatic memberGetParser(String)
Selects an appropriate IRdfReader based on the HTTP Content-Type header from a HTTP Response.
Public methodStatic memberGetParserByFileExtension
Selects a IRdfReader based on the file extension.
Public methodStatic memberGetSparqlParser(String)
Selects an appropriate ISparqlResultsReader based on the HTTP Content-Type header from a HTTP Response.
Public methodStatic memberGetSparqlParser(IEnumerableString, Boolean)
Selects a SPARQL Parser based on the MIME types.
Public methodStatic memberGetSparqlParser(String, Boolean)
Selects an appropriate ISparqlResultsReader based on the HTTP Content-Type header from a HTTP Response.
Public methodStatic memberGetSparqlParserByFileExtension
Selects a ISparqlResultsReader based on the file extension.
Public methodStatic memberGetSparqlWriter(IEnumerableString)
Selects an appropriate ISparqlResultsWriter based on the given MIME Types.
Public methodStatic memberGetSparqlWriter(String)
Selects an appropriate ISparqlResultsWriter based on the HTTP Accept header form a HTTP Request.
Public methodStatic memberGetSparqlWriter(IEnumerableString, String)
Selects an appropriate ISparqlResultsWriter based on the HTTP Accept header form a HTTP Request.
Public methodStatic memberGetSparqlWriter(String, String)
Selects an appropriate ISparqlResultsWriter based on the HTTP Accept header form a HTTP Request.
Public methodStatic memberGetSparqlWriterByFileExtension(String)
Selects a ISparqlResultsWriter based on a file extension.
Public methodStatic memberGetSparqlWriterByFileExtension(String, String)
Selects a ISparqlResultsWriter based on a file extension.
Public methodStatic memberGetStoreParser(IEnumerableString)
Selects a Store parser based on the MIME types.
Public methodStatic memberGetStoreParser(String)
Selects an appropriate IStoreReader based on the HTTP Content-Type header from a HTTP Response.
Public methodStatic memberGetStoreParserByFileExtension
Selects a Store parser based on the file extension.
Public methodStatic memberGetStoreWriter(IEnumerableString)
Selects an appropriate IStoreWriter based on the given MIME Types.
Public methodStatic memberGetStoreWriter(String)
Selects an appropriate IStoreWriter based on the HTTP Accept header form a HTTP Request.
Public methodStatic memberGetStoreWriter(IEnumerableString, String)
Selects an appropriate IStoreWriter based on the given MIME Types.
Public methodStatic memberGetStoreWriter(String, String)
Selects an appropriate IStoreWriter based on the HTTP Accept header form a HTTP Request.
Public methodStatic memberGetStoreWriterByFileExtension(String)
Selects a IStoreWriter by file extension.
Public methodStatic memberGetStoreWriterByFileExtension(String, String)
Selects a IStoreWriter by file extension.
Public methodStatic memberGetTrueFileExtension
Gets the true file extension for a filename.
Public methodStatic memberGetTrueResourceExtension
Gets the true extension for a resource.
Public methodStatic memberGetWriter(IEnumerableString)
Selects an appropriate IRdfWriter based on the given MIME Types.
Public methodStatic memberGetWriter(String)
Selects an appropriate IRdfWriter based on the HTTP Accept header form a HTTP Request.
Public methodStatic memberGetWriter(IEnumerableString, String)
Selects an appropriate IRdfWriter based on the given MIME Types.
Public methodStatic memberGetWriter(String, String)
Selects an appropriate IRdfWriter based on the HTTP Accept header form a HTTP Request.
Public methodStatic memberGetWriterByFileExtension(String)
Selects a IRdfWriter based on the file extension.
Public methodStatic memberGetWriterByFileExtension(String, String)
Selects a IRdfWriter based on the file extension.
Public methodStatic memberRegisterParser(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.
Public methodStatic memberRegisterParser(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.
Public methodStatic memberRegisterParser(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.
Public methodStatic memberRegisterWriter(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.
Public methodStatic memberRegisterWriter(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.
Public methodStatic memberRegisterWriter(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.
Public methodStatic memberResetDefinitions
Resets the MIME Type Definitions (the associations between file extensions, MIME types and their respective parsers and writers) to the library defaults.
Top
See Also