|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.james.mime4j.message.Entity
org.apache.james.mime4j.message.BodyPart
public class BodyPart
Represents a MIME body part (see RFC 2045).
| Constructor Summary | |
|---|---|
BodyPart()
Creates a new empty BodyPart. |
|
BodyPart(BodyPart other)
Creates a new BodyPart from the specified
BodyPart. |
|
| Method Summary |
|---|
| Methods inherited from class org.apache.james.mime4j.message.Entity |
|---|
dispose, getBody, getCharset, getContentTransferEncoding, getDispositionType, getFilename, getHeader, getMimeType, getParent, isMimeType, isMultipart, removeBody, setBody, setBody, setBody, setContentDisposition, setContentDisposition, setContentDisposition, setContentDisposition, setContentTransferEncoding, setFilename, setHeader, setMessage, setMultipart, setMultipart, setParent, setText, setText |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BodyPart()
BodyPart.
public BodyPart(BodyPart other)
BodyPart from the specified
BodyPart. The BodyPart instance is initialized
with copies of header and body of the specified BodyPart.
The parent entity of the new body part is null.
other - body part to copy.
java.lang.UnsupportedOperationException - if other contains a SingleBody that
does not support the copy()
operation.
java.lang.IllegalArgumentException - if other contains a Body that
is neither a Message, Multipart or
SingleBody.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||