KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > net > jforum > util > legacy > clickstream > config > ClickstreamConfig


1 package net.jforum.util.legacy.clickstream.config;
2
3 import java.util.ArrayList JavaDoc;
4 import java.util.List JavaDoc;
5
6 /**
7  * Clickstream configuration data.
8  *
9  * @author <a HREF="plightbo@hotmail.com">Patrick Lightbody</a>
10  * @author Rafael Steil (little hacks for JForum)
11  * @version $Id: ClickstreamConfig.java,v 1.4 2005/07/26 04:01:16 diegopires Exp $
12  */

13 public class ClickstreamConfig {
14     private List JavaDoc botAgents = new ArrayList JavaDoc();
15     private List JavaDoc botHosts = new ArrayList JavaDoc();
16
17     public void addBotAgent(String JavaDoc agent) {
18         botAgents.add(agent);
19     }
20
21     public void addBotHost(String JavaDoc host) {
22         botHosts.add(host);
23     }
24
25     public List JavaDoc getBotAgents() {
26         return botAgents;
27     }
28
29     public List JavaDoc getBotHosts() {
30         return botHosts;
31     }
32 }
33
Popular Tags