Medical Imaging Interaction Toolkit
2023.04.00
Medical Imaging Interaction Toolkit
|
The IMimeTypeProvider service interface allows to query all registered mime types. More...
#include <mitkIMimeTypeProvider.h>
Public Member Functions | |
virtual | ~IMimeTypeProvider () |
virtual std::vector< MimeType > | GetMimeTypes () const =0 |
virtual std::vector< MimeType > | GetMimeTypesForFile (const std::string &filePath) const =0 |
virtual std::vector< MimeType > | GetMimeTypesForCategory (const std::string &category) const =0 |
virtual MimeType | GetMimeTypeForName (const std::string &name) const =0 |
virtual std::vector< std::string > | GetCategories () const =0 |
Get a sorted and unique list of mime-type categories. More... | |
The IMimeTypeProvider service interface allows to query all registered mime types.
Mime types are added to the system by registering a service object of type CustomMimeType and the registered mime types can be queried bei either using direct look-ups in the service registry or calling the methods of this service interface.
This service interface also allows to infer the mime type of a file on the file system. The heuristics for inferring the actual mime type is implementation specific.
Definition at line 46 of file mitkIMimeTypeProvider.h.
|
virtual |
|
pure virtual |
Get a sorted and unique list of mime-type categories.
Implemented in mitk::MimeTypeProvider.
|
pure virtual |
Implemented in mitk::MimeTypeProvider.
|
pure virtual |
Implemented in mitk::MimeTypeProvider.
|
pure virtual |
Implemented in mitk::MimeTypeProvider.
|
pure virtual |
Implemented in mitk::MimeTypeProvider.