@ThreadSafe public final class PartX extends Object
Modifier and Type | Method and Description |
---|---|
static String |
getFirstHeader(Part part,
String name)
Returns the value of the first header with the specified header name.
|
static Part |
getPlainTextPart(Part part)
Returns the first part of MIME type text/plain.
|
public static String getFirstHeader(Part part, String name) throws MessagingException
MessagingException
public static Part getPlainTextPart(Part part) throws MessagingException, IOException
MessagingException
IOException