KickJava   Java API By Example, From Geeks To Geeks.

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


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 final class AuthenticatedAddress {
14   private final Authentic auth;
15   private final Address[] reply_to;
16   
17   /**
18    * @param auth
19    * @param reply_to
20    */

21   AuthenticatedAddress(final Authentic auth, final Address[] reply_to) {
22     super();
23     this.auth = auth;
24     this.reply_to = reply_to;
25   }
26   /**
27    * @return Returns the auth.
28    */

29   public Authentic getAuth() {
30     return auth;
31   }
32   /**
33    * @return Returns the reply_to.
34    */

35   public Address[] getReplyTo() {
36     return reply_to;
37   }
38 }
39
Popular Tags