/** * Loads the MIME properties from the Berlioz jar or the local "config/mime.properties" */ private static synchronized void loadMIMEProperties() { try (InputStream in = getMediaTypesInputStream()) { if (in != null) { MEDIATYPES.load(in); } } catch (IOException ex) { LOGGER.warn("Unable to load MIME properties", ex); } }