Lines Matching refs:bodyPart
77 public static BodyPart bodyPart(String mimeType, String contentId) throws MessagingException {
93 public static BodyPart textPart(String mimeType, String text) throws MessagingException {
104 * Multipart or BodyPart which contains accepted BodyParts. Usually combined with other
109 private final ArrayList<BodyPart> mParts = new ArrayList<BodyPart>();
131 * Modifier method to add BodyPart to intended Multipart.
133 * @param bodyPart BodyPart to be added
136 public MultipartBuilder addBodyPart(final BodyPart bodyPart) {
137 mParts.add(bodyPart);
149 for (BodyPart p : mParts) {
156 * Build method to create BodyPart that contains this "Multipart"
157 * @return BodyPart whose body is intended Multipart.
160 public BodyPart buildBodyPart() throws MessagingException {
161 final BodyPart bp = new MimeBodyPart();