|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.mail.BodyPart
javax.mail.internet.MimeBodyPart
javax.mail.internet.PreencodedMimeBodyPart
public class PreencodedMimeBodyPart
Field Summary |
---|
Fields inherited from class javax.mail.internet.MimeBodyPart |
---|
content, contentStream, dh, headers |
Fields inherited from class javax.mail.BodyPart |
---|
parent |
Fields inherited from interface javax.mail.Part |
---|
ATTACHMENT, INLINE |
Constructor Summary | |
---|---|
PreencodedMimeBodyPart(java.lang.String encoding)
Create a new body part with the specified MIME transfer encoding. |
Method Summary | |
---|---|
java.lang.String |
getEncoding()
Retieve the defined encoding for this body part. |
protected void |
updateHeaders()
Override of update headers to ensure the transfer encoding is forced to the correct type. |
void |
writeTo(java.io.OutputStream out)
Write the body part content to the stream without applying and additional encodings. |
Methods inherited from class javax.mail.BodyPart |
---|
getParent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PreencodedMimeBodyPart(java.lang.String encoding)
encoding
- The content encoding.Method Detail |
---|
public java.lang.String getEncoding() throws MessagingException
getEncoding
in interface MimePart
getEncoding
in class MimeBodyPart
MessagingException
public void writeTo(java.io.OutputStream out) throws java.io.IOException, MessagingException
writeTo
in interface Part
writeTo
in class MimeBodyPart
out
- The target output stream.
java.io.IOException
MessagingException
protected void updateHeaders() throws MessagingException
updateHeaders
in class MimeBodyPart
MessagingException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |