Package | Description |
---|---|
org.apache.james.mime4j.dom | |
org.apache.james.mime4j.message |
Modifier and Type | Interface and Description |
---|---|
interface |
Message
An MIME message (as defined in RFC 2045).
|
interface |
Multipart
A MIME multipart body (as defined in RFC 2045).
|
Modifier and Type | Class and Description |
---|---|
class |
BinaryBody
A body containing binary data.
|
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 |
---|---|
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 |
---|---|
void |
Entity.setBody(Body body)
Sets the body of this entity.
|
void |
MessageWriter.writeBody(Body body,
OutputStream out) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractMessage
Abstract MIME message.
|
class |
AbstractMultipart
Abstract MIME multipart body.
|
class |
MessageImpl
Default implementation of
Message . |
class |
MultipartImpl
Default implementation of
Multipart . |
Modifier and Type | Method and Description |
---|---|
Body |
DefaultMessageBuilder.copy(Body body)
Returns a copy of the given
Body that can be used (and modified)
independently of the original. |
Body |
AbstractEntity.getBody()
Gets the body of this entity.
|
Body |
AbstractEntity.removeBody()
Removes and returns the body of this entity.
|
Modifier and Type | Method and Description |
---|---|
Body |
DefaultMessageBuilder.copy(Body body)
Returns a copy of the given
Body that can be used (and modified)
independently of the original. |
void |
AbstractEntity.setBody(Body body)
Sets the body of this entity.
|
void |
AbstractEntity.setBody(Body body,
String mimeType)
Sets the body of this entity and sets the content-type to the specified
value.
|
void |
AbstractEntity.setBody(Body body,
String mimeType,
Map<String,String> parameters)
Sets the body of this entity and sets the content-type to the specified
value.
|
void |
DefaultMessageWriter.writeBody(Body body,
OutputStream out)
Write the specified
Body to the specified
OutputStream . |
Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.