Scholar.File -- some methods to help with MIME type detection of local files (might be abstracted into MIME class later)
Scholar.File -- some methods to help with MIME type detection of local files (might be abstracted into MIME class later)

Methods:

getExtension(ext)
isExternalTextExtension(ext)
getSample(nsIFile)
sniffForMIMEType(nsIFile)
sniffForBinary(nsIFile)
getMIMETypeFromFile(nsIFile)
hasInternalHandler(nsIFile)


aurimasv/zotero,sendecomp/zotero,hoehnp/zotero,retorquere/zotero,sendecomp/zotero,fbennett/zotero,egh/zotero,robamler/zotero,egh/zotero,sendecomp/zotero,rmzelle/zotero,rmzelle/zotero,hoehnp/zotero,gracile-fr/zotero,adunning/zotero,adunning/zotero,rmzelle/zotero,robamler/zotero,retorquere/zotero,retorquere/zotero,adunning/zotero,gracile-fr/zotero,LinuxMercedes/zotero,egh/zotero,LinuxMercedes/zotero,hoehnp/zotero,LinuxMercedes/zotero,gracile-fr/zotero,robamler/zotero