1 package com.codestreet.messageforge;
2
3 public class CMailType
4 {
5 /***
6 * Ctor.
7 * @param type Mail message type.
8 */
9 private CMailType(String type)
10 {
11 type_ = type;
12 }
13
14 /***
15 * Override.
16 * @return Mail message type.
17 */
18 public String toString()
19 {
20 return type_;
21 }
22
23 /***
24 * MIME.
25 */
26 public static final CMailType MIME = new CMailType("MIME");
27
28 /***
29 * SMTP.
30 */
31 public static final CMailType SMTP = new CMailType("SMTP");
32
33 private final String type_;
34 }
This page was automatically generated by Maven