org.utgenome.gwt.utgb.client.util
Class BrowserInfo

java.lang.Object
  extended by org.utgenome.gwt.utgb.client.util.BrowserInfo

public class BrowserInfo
extends Object

URL query string reader. For example, .../UTGB.html?species=human&revision=hg18

Author:
leo

Nested Class Summary
static class BrowserInfo.Agent
           
 
Constructor Summary
BrowserInfo()
           
 
Method Summary
static BrowserInfo.Agent getBrowserType()
          Retrieve a short name, suitable for use in a tab or filename, for a given user agent.
static String getHash()
           
static String getHost()
           
static String getHostName()
           
static String getHref()
           
static String getPath()
           
static String getPort()
           
static String getProtocol()
           
static String getQueryString()
           
static HashMap<String,String> getURLQueryRequestParameters()
           
static String getUserAgent()
           
static boolean isCanvasSupported()
           
static boolean isGoogleGearsInstalled()
           
static boolean isIE()
           
static boolean isMobileSafari()
           
static void setQueryString(String qs)
           
static String unescape(String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BrowserInfo

public BrowserInfo()
Method Detail

getURLQueryRequestParameters

public static HashMap<String,String> getURLQueryRequestParameters()

unescape

public static String unescape(String s)

setQueryString

public static void setQueryString(String qs)

getQueryString

public static String getQueryString()

getProtocol

public static String getProtocol()

getPort

public static String getPort()

getPath

public static String getPath()

getHref

public static String getHref()

getHostName

public static String getHostName()

getHost

public static String getHost()

getHash

public static String getHash()

isGoogleGearsInstalled

public static boolean isGoogleGearsInstalled()

getUserAgent

public static String getUserAgent()

isCanvasSupported

public static boolean isCanvasSupported()

isMobileSafari

public static boolean isMobileSafari()

getBrowserType

public static BrowserInfo.Agent getBrowserType()
Retrieve a short name, suitable for use in a tab or filename, for a given user agent.

Parameters:
userAgent -
Returns:
short name of user agent

isIE

public static boolean isIE()


Copyright © 2007-2012 utgenome.org. All Rights Reserved.