Example usage for Java org.springframework.mail.javamail ConfigurableMimeFileTypeMap fields, constructors, methods, implement or subclass
The text is from its open source code.
void | afterPropertiesSet() Creates the final merged mapping set. |
String | getContentType(File file) Delegates to the underlying FileTypeMap. |
String | getContentType(String fileName) Delegates to the underlying FileTypeMap. |
void | setMappings(String... mappings) Specify additional MIME type mappings as lines that follow the mime.types file format, as specified by the Java Activation Framework. |