KickJava   Java API By Example, From Geeks To Geeks.

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


1 package net.suberic.pooka;
2 import javax.mail.*;
3 import javax.mail.internet.*;
4 import javax.activation.DataHandler JavaDoc;
5 import java.io.*;
6 import java.util.*;
7
8 public class MBPAttachment extends Attachment {
9   
10   MimeBodyPart mbp;
11   
12   public MBPAttachment(MimeBodyPart part) throws MessagingException {
13     super(part);
14     mbp = part;
15   }
16   
17   public MimeBodyPart getMimeBodyPart() {
18     return mbp;
19   }
20   
21 }
22
23
Popular Tags