public class Browser extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
Browser.Info
Provides limited user agent information for the current browser.
|
Modifier and Type | Method and Description |
---|---|
static String |
decodeURI(String encodedURI)
Decodes a URI as specified in the ECMA-262, 5th edition specification,
section 15.1.3.1.
|
static String |
decodeURIComponent(String encodedUriComponent)
Encodes a URI compoment as specified in the ECMA-262, 5th edition specification,
section 15.1.3.1.
|
static String |
encodeURI(String uri)
Encodes a URI as specified in the ECMA-262, 5th edition specification,
section 15.1.3.1.
|
static String |
encodeURIComponent(String uriComponent)
Encodes a URI component as specified in the ECMA-262, 5th edition specification,
section 15.1.3.1.
|
static Document |
getDocument()
Gets the document within which this script is running.
|
static Browser.Info |
getInfo()
Gets information about the current browser.
|
static Window |
getWindow()
Gets the window within which this script is running.
|
public static String decodeURI(String encodedURI)
public static String decodeURIComponent(String encodedUriComponent)
public static String encodeURI(String uri)
public static String encodeURIComponent(String uriComponent)
public static Document getDocument()
public static Browser.Info getInfo()
public static Window getWindow()
Copyright © 2016. All rights reserved.