public static String typeOfSuffix ( String fileExtension ) { MimeType mimeType = indexByFileExtension . get ( fileExtension ) ; return null == mimeType ? fileExtension : mimeType . type ; }
Return a content type string corresponding to a given file extension suffix .