Utility class that maintains a listing of known Mimetypes, and determines the mimetype of files based on file extensions.
This class is obtained with the {#link {@link #getInstance()} method thatrecognizes loaded mime types from the file mime.types
if this file is available at the root of the classpath. The mime.types file format, and most of the content, is taken from the Apache HTTP server's mime.types file.
The format for mime type setting documents is: mimetype + extension (+ extension)*
. Any blank lines in the file are ignored, as are lines starting with #
which are considered comments. Lines that have a mimetype but no associated extensions are also ignored.