org.utgenome.gwt.utgb.client.util
Class BrowserInfo
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BrowserInfo
public BrowserInfo()
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.