| Modifier and Type | Field and Description |
|---|---|
| private static final Method |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static String | Returns: the cleaned Content-Type valuethe MimePart mp, String the Content-Type value contentType)If a Content-Type handler has been specified, call it to clean up the Content-Type value. |
| private static ClassLoader |
| cleanContentType | back to summary |
|---|---|
| private static final Method cleanContentType | |
| MimeUtil | back to summary |
|---|---|
| private MimeUtil() | |
| cleanContentType | back to summary |
|---|---|
| public static String cleanContentType(MimePart mp, String contentType) If a Content-Type handler has been specified, call it to clean up the Content-Type value. | |
| getContextClassLoader | back to summary |
|---|---|
| private static ClassLoader getContextClassLoader() Convenience method to get our context class loader. Assert any privileges we might have and then call the Thread.getContextClassLoader method. | |