Re: extension for a mime type



amit kumarjain wipro com wrote:
I want to get the possible extensions for a file giving  a particular mimetype.
For this I am using the API gnome_vfs_mime_get_extensions_string( ).
But the above API is deprecated one. And my nedd is not fulfilled.
So how can I obtain the required?

File extensions are only one way of determining a file's mimetype. Any mapping from 'mimetype' -> 'file ext' would seem to be terribly incomplete.

Cheers,
Nate




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]