001: /**
002: * Copyright (c) 2000-2008 Liferay, Inc. All rights reserved.
003: *
004: * Permission is hereby granted, free of charge, to any person obtaining a copy
005: * of this software and associated documentation files (the "Software"), to deal
006: * in the Software without restriction, including without limitation the rights
007: * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
008: * copies of the Software, and to permit persons to whom the Software is
009: * furnished to do so, subject to the following conditions:
010: *
011: * The above copyright notice and this permission notice shall be included in
012: * all copies or substantial portions of the Software.
013: *
014: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
015: * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
016: * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
017: * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
018: * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
019: * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
020: * SOFTWARE.
021: */package com.liferay.portal.kernel.servlet;
022:
023: /**
024: * <a href="BrowserSniffer_IW.java.html"><b><i>View Source</i></b></a>
025: *
026: * @author Brian Wing Shun Chan
027: *
028: */
029: public class BrowserSniffer_IW {
030: public static BrowserSniffer_IW getInstance() {
031: return _instance;
032: }
033:
034: public boolean acceptsGzip(javax.servlet.http.HttpServletRequest req) {
035: return BrowserSniffer.acceptsGzip(req);
036: }
037:
038: public boolean is_ie(javax.servlet.http.HttpServletRequest req) {
039: return BrowserSniffer.is_ie(req);
040: }
041:
042: public boolean is_ie_4(javax.servlet.http.HttpServletRequest req) {
043: return BrowserSniffer.is_ie_4(req);
044: }
045:
046: public boolean is_ie_5(javax.servlet.http.HttpServletRequest req) {
047: return BrowserSniffer.is_ie_5(req);
048: }
049:
050: public boolean is_ie_5_5(javax.servlet.http.HttpServletRequest req) {
051: return BrowserSniffer.is_ie_5_5(req);
052: }
053:
054: public boolean is_ie_5_5_up(
055: javax.servlet.http.HttpServletRequest req) {
056: return BrowserSniffer.is_ie_5_5_up(req);
057: }
058:
059: public boolean is_ie_6(javax.servlet.http.HttpServletRequest req) {
060: return BrowserSniffer.is_ie_6(req);
061: }
062:
063: public boolean is_ie_7(javax.servlet.http.HttpServletRequest req) {
064: return BrowserSniffer.is_ie_7(req);
065: }
066:
067: public boolean is_linux(javax.servlet.http.HttpServletRequest req) {
068: return BrowserSniffer.is_linux(req);
069: }
070:
071: public boolean is_mozilla(javax.servlet.http.HttpServletRequest req) {
072: return BrowserSniffer.is_mozilla(req);
073: }
074:
075: public boolean is_mozilla_1_3_up(
076: javax.servlet.http.HttpServletRequest req) {
077: return BrowserSniffer.is_mozilla_1_3_up(req);
078: }
079:
080: public boolean is_ns_4(javax.servlet.http.HttpServletRequest req) {
081: return BrowserSniffer.is_ns_4(req);
082: }
083:
084: public boolean is_rtf(javax.servlet.http.HttpServletRequest req) {
085: return BrowserSniffer.is_rtf(req);
086: }
087:
088: public boolean is_safari(javax.servlet.http.HttpServletRequest req) {
089: return BrowserSniffer.is_safari(req);
090: }
091:
092: public boolean is_wap_xhtml(
093: javax.servlet.http.HttpServletRequest req) {
094: return BrowserSniffer.is_wap_xhtml(req);
095: }
096:
097: public boolean is_wml(javax.servlet.http.HttpServletRequest req) {
098: return BrowserSniffer.is_wml(req);
099: }
100:
101: private BrowserSniffer_IW() {
102: }
103:
104: private static BrowserSniffer_IW _instance = new BrowserSniffer_IW();
105: }
|