static void initializeMIMETypeRegistry() { supportedJavaScriptMIMETypes = new HashSet<String>; initializeSupportedJavaScriptMIMETypes(); supportedNonImageMIMETypes = new HashSet<String>(*supportedJavaScriptMIMETypes); initializeSupportedNonImageMimeTypes(); supportedImageResourceMIMETypes = new HashSet<String>; supportedImageMIMETypes = new HashSet<String>; initializeSupportedImageMIMETypes(); }
static void initializeMIMETypeRegistry() { supportedJavaScriptMIMETypes = new HashSet<String, ASCIICaseInsensitiveHash>; initializeSupportedJavaScriptMIMETypes(); supportedNonImageMIMETypes = new HashSet<String, ASCIICaseInsensitiveHash>(*supportedJavaScriptMIMETypes); initializeSupportedNonImageMimeTypes(); supportedImageResourceMIMETypes = new HashSet<String, ASCIICaseInsensitiveHash>; supportedImageMIMETypes = new HashSet<String, ASCIICaseInsensitiveHash>; initializeSupportedImageMIMETypes(); pdfMIMETypes = new HashSet<String, ASCIICaseInsensitiveHash>; initializePDFMIMETypes(); pdfAndPostScriptMIMETypes = new HashSet<String, ASCIICaseInsensitiveHash>(*pdfMIMETypes); initializePostScriptMIMETypes(); unsupportedTextMIMETypes = new HashSet<String, ASCIICaseInsensitiveHash>; initializeUnsupportedTextMIMETypes(); }