| Package | Description |
|---|---|
| org.apache.james.mime4j.message |
| Modifier and Type | Method and Description |
|---|---|
MultipartBuilder |
MultipartBuilder.addBinaryPart(byte[] bin,
java.lang.String mimeType) |
MultipartBuilder |
MultipartBuilder.addBodyPart(Entity bodyPart)
Adds a body part to the end of the list of body parts.
|
MultipartBuilder |
MultipartBuilder.addBodyPart(Entity bodyPart,
int index)
Inserts a body part at the specified position in the list of body parts.
|
MultipartBuilder |
MultipartBuilder.addTextPart(java.lang.String text,
java.nio.charset.Charset charset) |
MultipartBuilder |
MultipartBuilder.copy(Multipart other) |
static MultipartBuilder |
MultipartBuilder.create() |
static MultipartBuilder |
MultipartBuilder.create(java.lang.String subType) |
static MultipartBuilder |
MultipartBuilder.createCopy(Multipart other) |
MultipartBuilder |
MultipartBuilder.removeBodyPart(int index)
Removes the body part at the specified position in the list of body
parts.
|
MultipartBuilder |
MultipartBuilder.replaceBodyPart(Entity bodyPart,
int index)
Replaces the body part at the specified position in the list of body
parts with the specified body part.
|
MultipartBuilder |
MultipartBuilder.setEpilogue(java.lang.String epilogue)
Sets the epilogue.
|
MultipartBuilder |
MultipartBuilder.setPreamble(java.lang.String preamble)
Sets the preamble.
|
MultipartBuilder |
MultipartBuilder.setSubType(java.lang.String subType)
Sets the multipart sub-type.
|
MultipartBuilder |
MultipartBuilder.use(BodyFactory bodyFactory) |