Class ExtensionMimeMap


  • public class ExtensionMimeMap
    extends java.lang.Object
    Map file extension to a mime type.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String mapToMimeType​(java.lang.String extension)
      Map extension to mime type
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ExtensionMimeMap

        public ExtensionMimeMap()
    • Method Detail

      • mapToMimeType

        public static java.lang.String mapToMimeType​(java.lang.String extension)
        Map extension to mime type