KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > columba > mail > message > PGPMimePart


1 package org.columba.mail.message;
2
3 import org.columba.mail.config.SecurityItem;
4 import org.columba.ristretto.message.MimeHeader;
5 import org.columba.ristretto.message.MimePart;
6
7
8 //The contents of this file are subject to the Mozilla Public License Version 1.1
9
//(the "License"); you may not use this file except in compliance with the
10
//License. You may obtain a copy of the License at http://www.mozilla.org/MPL/
11
//
12
//Software distributed under the License is distributed on an "AS IS" basis,
13
//WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
14
//for the specific language governing rights and
15
//limitations under the License.
16
//
17
//The Original Code is "The Columba Project"
18
//
19
//The Initial Developers of the Original Code are Frederik Dietz and Timo Stich.
20
//Portions created by Frederik Dietz and Timo Stich are Copyright (C) 2003.
21
//
22
//All Rights Reserved.
23
public class PGPMimePart extends MimePart {
24     private SecurityItem pgpItem;
25
26     /**
27  * @param header
28  */

29     public PGPMimePart(MimeHeader header, SecurityItem pgpItem) {
30         super(header);
31         this.pgpItem = pgpItem;
32     }
33
34     /**
35  * @return
36  */

37     public SecurityItem getPgpItem() {
38         return pgpItem;
39     }
40 }
41
Popular Tags