Class Mimetypes


  • public class Mimetypes
    extends Object
    Maps files to Internet media types based on their file extension.

    The mapping is read from a file mime.types which must be available in the classpath root.