01: /*
02: * (C) Copyright 2000 - 2003 Nabh Information Systems, Inc.
03: *
04: * This program is free software; you can redistribute it and/or
05: * modify it under the terms of the GNU General Public License
06: * as published by the Free Software Foundation; either version 2
07: * of the License, or (at your option) any later version.
08: *
09: * This program is distributed in the hope that it will be useful,
10: * but WITHOUT ANY WARRANTY; without even the implied warranty of
11: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12: * GNU General Public License for more details.
13: *
14: * You should have received a copy of the GNU General Public License
15: * along with this program; if not, write to the Free Software
16: * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17: *
18: */
19:
20: package com.nabhinc.portal.monitor;
21:
22: /**
23: *
24: *
25: * @author Wirawan Chokry
26: * (c) 2004 Nabh Information Systems, Inc. All Rights Reserved.
27: */
28: public final class UserAgentConstants {
29:
30: public final static String[] NETSCAPE_BROWSER_TYPES = { "nav",
31: "gold", "x11", "netscape" };
32: public final static String[] SEARCH_ENGINES_TYPES = { "bot",
33: "infoseek", "fast-webcrawler" };
34: public final static String MSIE_BROWSER_TYPE = "msie";
35: public final static String LYNX_BROWSER_TYPE = "lynx";
36: public final static String OPERA_BROWSER_TYPE = "opera";
37: public final static String WEBTV_BROWSER_TYPE = "webtv";
38: public final static String KONQUEROR_BROWSER_TYPE = "konqueror";
39: public final static String FIREFOX_BROWSER_TYPE = "firefox";
40: public final static String MOZILLA_BROWSER_TYPES = "mozilla";
41: public final static String YAHOO_SEARCH_ENGINE_TYPE = "slurp";
42: public final static String GOOGLE_SEARCH_ENGINE_TYPE = "google";
43: public final static String ALTAVISTA_SEARCH_ENGINE_TYPE = "scooter";
44: public final static String LYCOS_SEARCH_ENGINE_TYPE = "spider";
45: public final static String MSN_SEARCH_ENGINE_TYPE = "msnbot";
46:
47: public final static String BROWSER = "browser";
48: public final static String NETSCAPE_BROWSER = "Netscape";
49: public final static String MSIE_BROWSER = "MSIE";
50: public final static String LYNX_BROWSER = "Lynx";
51: public final static String OPERA_BROWSER = "Opera";
52: public final static String WEBTV_BROWSER = "WebTV";
53: public final static String KONQUEROR_BROWSER = "Konqueror";
54: public final static String FIREFOX_BROWSER = "Firefox";
55: public final static String SEARCH_ENGINE = "Bot";
56: public final static String YAHOO_SEARCH_ENGINE = "Yahoo";
57: public final static String GOOGLE_SEARCH_ENGINE = "Google";
58: public final static String ALTAVISTA_SEARCH_ENGINE = "Altavista";
59: public final static String LYCOS_SEARCH_ENGINE = "Lycos";
60: public final static String MSN_SEARCH_ENGINE = "MSN";
61:
62: public final static String[] BLACK_LISTED_SEARCH_ENGINE = {
63: "ia_archiver", "teleport", "blackhole" };
64: public final static String UNKNOWN_BROWSER = "unknown";
65:
66: public final static String WINDOWS_OS_TYPE = "win";
67: public final static String MAC_OS_TYPE = "mac";
68: public final static String PPC_OS_TYPE = "ppc";
69: public final static String LINUX_OS_TYPE = "linux";
70: public final static String FREEBSD_OS_TYPE = "freebsd";
71: public final static String SUN_OS_TYPE = "sunos";
72: public final static String IRIX_OS_TYPE = "irix";
73: public final static String BE_OS_TYPE = "beos";
74: public final static String OS2_OS_TYPE = "os/2";
75: public final static String AIX_OS_TYPE = "aix";
76:
77: public final static String OS = "os";
78: public final static String WINDOWS_OS = "Windows";
79: public final static String MAC_OS = "Mac";
80: public final static String LINUX_OS = "Linux";
81: public final static String FREEBSD_OS = "FreeBSD";
82: public final static String SUN_OS = "SunOS";
83: public final static String IRIX_OS = "IRIX";
84: public final static String BE_OS = "BeOS";
85: public final static String OS2_OS = "OS/2";
86: public final static String AIX_OS = "AIX";
87: public final static String UNKNOWN_OS = "unknown";
88:
89: }
|