Marek Lewczuk wrote:

Darin Fisher wrote:

Marek Lewczuk wrote:

Hello,
I have found on xulplanet info about "file-io", but when I try to create Components.classes["@mozilla.org/network/file-io;1"] it says that file-io not exists.


Windows, Firefox 0.8

Thanks in advance.

ML




That's right. The file-io component is history. It was removed from the Mozilla prior to version 1.3. If you explain what you are trying to do, we might able to help you find the rigth alternative.

-Darin


Well, I just want to get contentType for given file (like image/jpeg). I can't find any alternative component/interface.


Sounds like you should look at nsIMIMEService and nsIMIMEInfo.

-Darin
_______________________________________________
Mozilla-xpcom mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-xpcom

Reply via email to