KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > tests > jfun > parsec > rfc822 > Authentic


1 /*
2  * Created on Dec 20, 2004
3  *
4  * Author Ben Yu
5  */

6 package tests.jfun.parsec.rfc822;
7
8 /**
9  * @author Ben Yu
10  *
11  * Dec 20, 2004
12  */

13 public class Authentic {
14   private final String JavaDoc type;
15   private final boolean single;
16   
17   /**
18    * @return Returns the single.
19    */

20   public boolean isSingle() {
21     return single;
22   }
23   /**
24    * @return Returns the type.
25    */

26   public String JavaDoc getType() {
27     return type;
28   }
29   /**
30    * @param type
31    * @param single
32    */

33   Authentic(final String JavaDoc type, final boolean single) {
34     super();
35     this.type = type;
36     this.single = single;
37   }
38 }
39
Popular Tags