1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 package net.sf.dexterim.msn.message;
20
21 import net.sf.dexterim.msn.MsnConnection;
22
23 /***
24 *@author christoph
25 */
26 public class UserMessage extends MimeMessage {
27 private String message;
28 private String account;
29 private String nick;
30
31 /***
32 * Getter for property message.
33 *
34 *@return Value of property message.
35 */
36 public java.lang.String getMessage() {
37 return message;
38 }
39
40 /***
41 * Getter for property account.
42 *
43 *@return Value of property account.
44 */
45 public java.lang.String getAccount() {
46 return account;
47 }
48
49 /***
50 * Setter for property account.
51 *
52 *@param account New value of property account.
53 */
54 public void setAccount(java.lang.String account) {
55 this.account = account;
56 }
57
58 /***
59 * Getter for property nick.
60 *
61 *@return Value of property nick.
62 */
63 public java.lang.String getNick() {
64 return nick;
65 }
66
67 /***
68 * Setter for property nick.
69 *
70 *@param nick New value of property nick.
71 */
72 public void setNick(java.lang.String nick) {
73 this.nick = nick;
74 }
75
76 /***
77 * Description of the Method
78 *
79 *@param account
80 * Description of the Parameter
81 *@param nick
82 * Description of the Parameter
83 *@param lineList
84 * Description of the Parameter
85 *@exception net.sf.dexterim.msn.engine.MessageFormatException
86 * Description of the Exception
87 */
88 public void processMessage(
89 String account,
90 String nick,
91 java.util.List lineList)
92 throws net.sf.dexterim.msn.message.MessageFormatException {
93 setAccount(account);
94 setNick(nick);
95
96 message = new String();
97
98 for (int i = 2; i < lineList.size(); i++) {
99 this.message
100 += net.sf.dexterim.msn.util.SpecialCharacters.getInstance().decode(
101 (String)lineList.get(i));
102 }
103 }
104
105
106
107
108 public void process(MsnConnection connection) {
109
110
111 }
112 }