net.suberic.crypto
Class UpdatableMBP

java.lang.Object
  extended byjavax.mail.BodyPart
      extended byjavax.mail.internet.MimeBodyPart
          extended bynet.suberic.crypto.UpdatableMBP
All Implemented Interfaces:
javax.mail.internet.MimePart, javax.mail.Part

public class UpdatableMBP
extends javax.mail.internet.MimeBodyPart

A MimeBodyPart that allows for updateHeaders() to be called.


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
UpdatableMBP()
          Create a new UpdatableMimeBodyPart.
UpdatableMBP(java.io.InputStream is)
          Create a new UpdatableMimeBodyPart.
 
Method Summary
 void updateMyHeaders()
          Calls updateHeaders().
 
Methods inherited from class javax.mail.internet.MimeBodyPart
addHeader, addHeaderLine, getAllHeaderLines, getAllHeaders, getContent, getContentID, getContentLanguage, getContentMD5, getContentStream, getContentType, getDataHandler, getDescription, getDisposition, getEncoding, getFileName, getHeader, getHeader, getInputStream, getLineCount, getMatchingHeaderLines, getMatchingHeaders, getNonMatchingHeaderLines, getNonMatchingHeaders, getRawInputStream, getSize, isMimeType, removeHeader, setContent, setContent, setContentID, setContentLanguage, setContentMD5, setDataHandler, setDescription, setDescription, setDisposition, setFileName, setHeader, setText, setText, updateHeaders, writeTo
 
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

UpdatableMBP

public UpdatableMBP()
Create a new UpdatableMimeBodyPart.


UpdatableMBP

public UpdatableMBP(java.io.InputStream is)
             throws javax.mail.MessagingException
Create a new UpdatableMimeBodyPart.

Method Detail

updateMyHeaders

public void updateMyHeaders()
                     throws javax.mail.MessagingException
Calls updateHeaders().

Throws:
javax.mail.MessagingException