Package | Description |
---|---|
org.apache.james.mime4j.message |
Modifier and Type | Class and Description |
---|---|
class |
BinaryBody
A body containing binary data.
|
class |
Message
Represents a MIME message.
|
class |
Multipart
Represents a MIME multipart body (see RFC 2045).A multipart body has a
ordered list of body parts.
|
class |
SingleBody
Abstract implementation of a single message body; that is, a body that does
not contain (directly or indirectly) any other child bodies.
|
class |
TextBody
Encapsulates the contents of a
text/* entity body. |
Modifier and Type | Method and Description |
---|---|
static Body |
BodyCopier.copy(Body body)
Returns a copy of the given
Body that can be used (and modified)
independently of the original. |
Body |
Entity.getBody()
Gets the body of this entity.
|
Body |
Entity.removeBody()
Removes and returns the body of this entity.
|
Modifier and Type | Method and Description |
---|---|
static Body |
BodyCopier.copy(Body body)
Returns a copy of the given
Body that can be used (and modified)
independently of the original. |
void |
Entity.setBody(Body body)
Sets the body of this entity.
|
void |
Entity.setBody(Body body,
java.lang.String mimeType)
Sets the body of this entity and sets the content-type to the specified
value.
|
void |
Entity.setBody(Body body,
java.lang.String mimeType,
java.util.Map<java.lang.String,java.lang.String> parameters)
Sets the body of this entity and sets the content-type to the specified
value.
|
void |
MessageWriter.writeBody(Body body,
java.io.OutputStream out)
Write the specified
Body to the specified
OutputStream . |
Copyright © 2004-2012. All Rights Reserved.