public String convertExtensionToMediaType ( String extension ) { ProvFormat format = extensionRevMap . get ( extension ) ; if ( format == null ) return null ; return mimeTypeMap . get ( format ) ; }
Maps an file extension to a Media type