KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > net > suberic > pooka > UpdatableMBP


1 package net.suberic.pooka;
2 import javax.mail.*;
3 import javax.mail.internet.*;
4
5 /**
6  * A MimeBodyPart that allows for updateHeaders() to be called.
7  */

8 public class UpdatableMBP extends MimeBodyPart {
9
10   /**
11    * Create a new UpdatableMimeBodyPart.
12    */

13   public UpdatableMBP() {
14     super();
15   }
16
17   /**
18    * Create a new UpdatableMimeBodyPart.
19    */

20   public UpdatableMBP(java.io.InputStream JavaDoc is) throws MessagingException{
21     super(is);
22   }
23
24   /**
25    * Calls updateHeaders().
26    */

27   public void updateMyHeaders() throws MessagingException {
28     updateHeaders();
29   }
30
31 }
32
Popular Tags