Lines Matching defs:mimeType
72 * @param mimeType MIME type of body part
77 public static BodyPart bodyPart(String mimeType, String contentId) throws MessagingException {
78 final MimeBodyPart bp = new MimeBodyPart(null, mimeType);
88 * @param mimeType MIME type of text
93 public static BodyPart textPart(String mimeType, String text) throws MessagingException {
96 textPart.setHeader(MimeHeader.HEADER_CONTENT_TYPE, mimeType);
114 * @param mimeType MIME type of this Multipart
116 public MultipartBuilder(String mimeType) {
117 this(mimeType, "this_is_boundary");
123 * @param mimeType MIME type of this Multipart
126 public MultipartBuilder(String mimeType, String boundary) {
127 mContentType = mimeType + "; boundary=" + boundary;