FCExporter.getMime C# (CSharp) Method

getMime() private method

gets mime type for an export type
private getMime ( string exportType ) : string
exportType string Export format
return string
    private string getMime(string exportType)
    {
        // get a Hashtable array of [type=> extension] 
        // from MIMETYPES constant 
        Hashtable mimelist = bang(MIMETYPES);
        string ext = getExtension(exportType);

        // get mime type asociated to extension
        string mime = mimelist[ext].ToString() != null ? mimelist[ext].ToString() : "";
        return mime;
    }