Subtext.Providers.BlogEntryEditor.FCKeditor.FileBrowserConnector.GetAllowedExtension C# (CSharp) Method

GetAllowedExtension() private static method

private static GetAllowedExtension ( string resourceType ) : string
resourceType string
return string
        private static string GetAllowedExtension(string resourceType)
        {
            string extStr="";
            if(resourceType.Equals("File"))
            {
                extStr = FckBlogEntryEditorProvider.FileAllowedExtensions;
            }
            else if(resourceType.Equals("Image"))
            {
                extStr = FckBlogEntryEditorProvider.ImageAllowedExtensions;
            }
            return extStr;
        }