public class MimeUtil
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static java.lang.reflect.Method |
cleanContentType |
Modifier | Constructor and Description |
---|---|
private |
MimeUtil() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
cleanContentType(MimePart mp,
java.lang.String contentType)
If a Content-Type handler has been specified,
call it to clean up the Content-Type value.
|
private static java.lang.ClassLoader |
getContextClassLoader()
Convenience method to get our context class loader.
|
public static java.lang.String cleanContentType(MimePart mp, java.lang.String contentType)
mp
- the MimePartcontentType
- the Content-Type valueprivate static java.lang.ClassLoader getContextClassLoader()