Clover coverage report - JFox Service-Oriented Application Framework - 1.0-RC1 Coverage timestamp: 星期五 八月 19 2005 13:21:55 CST FRAMES NO FRAMES |
file stats: | LOC: | 79 |  | Methods: | 0
| NCLOC: | 23 |  | Classes: | 1
30 day Evaluation Version distributed via the Maven Jar Repository. Clover is not free. You have 30 days to evaluate it. Please visit http://www.thecortex.net/clover to obtain a licensed version of Clover
Source file | Conditionals | Statements | Methods | TOTAL
MailMessage.java | - | - | - | - |

1 |  |
     /**
2 |  |
      * @(#)MailMessage.java
3 |  |
      *
4 |  |
      * JFoxSOAF, Service-Oriented Application Framework
5 |  |
      *
6 |  |
      * Copyright(c) JFoxSOAF Team
7 |  |
      *
8 |  |
      * Licensed under the GNU LGPL, Version 2.1 (the "License");
9 |  |
      * you may not use this file except in compliance with the License.
10 |  |
      * You may obtain a copy of the License at
11 |  |
      *
12 |  |
      * http://www.gnu.org/copyleft/lesser.html
13 |  |
      *
14 |  |
      * Unless required by applicable law or agreed to in writing, software
15 |  |
      * distributed under the License is distributed on an "AS IS" BASIS,
16 |  |
      * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 |  |
      * See the License for the specific language governing permissions and
18 |  |
      * limitations under the License.
19 |  |
      *
20 |  |
      * For more information, please visit:
21 |  |
      * http://www.jfox.cn/confluence/display/JFoxSOAF/Home
22 |  |
      * http://www.huihoo.org/jfox/jfoxsoaf
23 |  |
      */
24 |  |
25 |  |
     package org.huihoo.jfox.soaf.services.mail;
26 |  |
27 |  |
     import java.util.Date;
28 |  |
     import java.util.List;
29 |  |
30 |  |
     import javax.mail.internet.MimeMessage;
31 |  |
32 |  |
     import org.huihoo.jfox.soaf.exception.MailException;
33 |  |
34 |  |
     /**
35 |  |
      * <p>
36 |  |
      * Common interface for mail messages
37 |  |
      * </p>
38 |  |
      *
39 |  |
      * @author <a href="mailto:founder_chen@yahoo.com.cn">Peter Cheng </a>
40 |  |
      * @version $Revision: 1.1 $ $Date: 2005/05/22 06:50:11 $
41 |  |
      * @version Revision: 1.0
42 |  |
      */
43 |  |
44 |  |
     public interface MailMessage {
45 |  |
46 |  |
         public void setFrom(String from) throws MailException;
47 |  |
48 |  |
         public void setFrom(String from, String personal) throws MailException;
49 |  |
50 |  |
         public void setReplyTo(String replyTo) throws MailException;
51 |  |
52 |  |
         public void setTo(String to) throws MailException;
53 |  |
54 |  |
         public void setTo(List toList) throws MailException;
55 |  |
56 |  |
         public void setCc(String cc) throws MailException;
57 |  |
58 |  |
         public void setCc(List ccList) throws MailException;
59 |  |
60 |  |
         public void setBcc(String bcc) throws MailException;
61 |  |
62 |  |
         public void setBcc(List bccList) throws MailException;
63 |  |
64 |  |
         public void setSentDate(Date sentDate) throws MailException;
65 |  |
66 |  |
         public void setSubject(String subject) throws MailException;
67 |  |
68 |  |
         public void setSubject(String subject, String charset) throws MailException;
69 |  |
70 |  |
         public void setText(String text, boolean html) throws MailException;
71 |  |
72 |  |
         public void setText(String text, String charset, boolean html)
73 |  |
                 throws MailException;
74 |  |
75 |  |
         public void setContentLanguage(String[] langs) throws MailException;
76 |  |
77 |  |
         public MimeMessage getMimeMessage();
78 |  |
79 |  |
     }