Source code: org/alicebot/server/core/responder/AIMResponder.java
1 // Decompiled by Jad v1.5.8c. Copyright 2001 Pavel Kouznetsov.
2 // Jad home page: http://www.geocities.com/kpdus/jad.html
3 // Decompiler options: packimports(3)
4
5 package org.alicebot.server.core.responder;
6
7
8 // Referenced classes of package org.alicebot.server.core.responder:
9 // Responder, ResponderXMLLogger
10
11 public class AIMResponder
12 implements Responder
13 {
14
15 public AIMResponder()
16 {
17 }
18
19 public String preprocess(String s, String s1)
20 {
21 return s;
22 }
23
24 public String append(String s, String s1, String s2)
25 {
26 return s2 + s1;
27 }
28
29 public void log(String s, String s1, String s2, String s3, String s4)
30 {
31 ResponderXMLLogger.log(s, s1, s2, s3, s4);
32 }
33
34 public String postprocess(String s)
35 {
36 String s1 = "";
37 if(s.length() > 1024)
38 s1 = "Huh?";
39 else
40 s1 = s;
41 return s1;
42 }
43
44 private static final String EMPTY_STRING = "";
45 }