spring-framework / org.springframework.mail.javamail / ConfigurableMimeFileTypeMap / getContentType

getContentType

open fun getContentType(file: File): String
open fun getContentType(fileName: String): String

Delegates to the underlying FileTypeMap.

See Also
#getFileTypeMap()