bool MIMETypeRegistry::isSupportedMediaMIMEType(const String& mimeType) { if (mimeType.isEmpty()) return false; if (!supportedMediaMIMETypes) initializeSupportedMediaMIMETypes(); return supportedMediaMIMETypes->contains(mimeType); }
HashSet<String>& MIMETypeRegistry::getSupportedMediaMIMETypes() { if (!supportedMediaMIMETypes) initializeSupportedMediaMIMETypes(); return *supportedMediaMIMETypes; }
HashSet<String, ASCIICaseInsensitiveHash>& MIMETypeRegistry::getSupportedMediaMIMETypes() { if (!supportedMediaMIMETypes) initializeSupportedMediaMIMETypes(); return *supportedMediaMIMETypes; }