Class MimeTypeResolver


  • public class MimeTypeResolver
    extends Object
    A thin wrapper around a singleton instance of MimetypesFileTypeMap that tries to load /etc/mime.types into the map.
    • Method Detail

      • getContentType

        public static String getContentType​(File file)