1 6 package tests.jfun.parsec.rfc822; 7 8 13 public final class Received { 14 private final String [] _from; 15 private final String [] _by; 16 private final String _via; 17 private final String [] _with; 18 private final AddrSpec _msg_id; 19 private final AddrSpec _for; 20 private final DateTime datetime; 21 22 30 Received(final String [] _from, final String [] _by, final String _via, 31 final String [] _with, final AddrSpec _msg_id, final AddrSpec _for, 32 final DateTime dt) { 33 super(); 34 this._from = _from; 35 this._by = _by; 36 this._via = _via; 37 this._with = _with; 38 this._msg_id = _msg_id; 39 this._for = _for; 40 this.datetime = dt; 41 } 42 45 public AddrSpec get_for() { 46 return _for; 47 } 48 51 public String [] get_from() { 52 return _from; 53 } 54 57 public AddrSpec get_msg_id() { 58 return _msg_id; 59 } 60 63 public String get_via() { 64 return _via; 65 } 66 69 public String [] get_with() { 70 return _with; 71 } 72 73 public DateTime get_datetime(){ 74 return datetime; 75 } 76 } 77 | Popular Tags |