@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="goog.global")
public final class Global
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
decodeURI(java.lang.String encodedURI)
The decodeURI() function decodes a Uniform Resource Identifier (URI) previously created by encodeURI() or by a similar routine.
|
static java.lang.String |
decodeURIComponent(java.lang.String encodedURI)
The decodeURIComponent() function decodes a Uniform Resource Identifier (URI) component previously created by encodeURIComponent or by a similar routine.
|
static java.lang.String |
encodeURI(java.lang.String uri)
The encodeURI() function encodes a URI by replacing each instance of certain characters by one, two, three, or four escape sequences representing the UTF-8 encoding of the character (will only be four escape sequences for characters composed of two "surrogate" characters).
|
static java.lang.String |
encodeURIComponent(java.lang.String uri)
The encodeURIComponent() function encodes a URI by replacing each instance of certain characters by one, two, three, or four escape sequences representing the UTF-8 encoding of the character (will only be four escape sequences for characters composed of two "surrogate" characters).
|
static java.lang.String |
escape(java.lang.String str)
Deprecated.
|
static jsinterop.base.Any |
eval(java.lang.String code)
The eval() function evaluates JavaScript code represented as a string.
|
static boolean |
isFinite(double num)
The global isFinite() function determines whether the passed value is a finite number.
|
static boolean |
isNaN(double value)
The isNaN() function determines whether a value is NaN or not.
|
static double |
parseFloat(java.lang.String string)
The parseFloat() function parses an argument (converting it to a string first if needed) and returns a floating point number.
|
static int |
parseInt(java.lang.String string,
int radix)
The parseInt() function parses a string argument and returns an integer of the specified radix (the base in mathematical numeral systems).
|
static java.lang.String |
unescape(java.lang.String str)
Deprecated.
|
@Nonnull public static java.lang.String decodeURI(@Nonnull java.lang.String encodedURI)
@Nonnull public static java.lang.String decodeURIComponent(@Nonnull java.lang.String encodedURI)
@Nonnull public static java.lang.String encodeURI(@Nonnull java.lang.String uri)
@Nonnull public static java.lang.String encodeURIComponent(@Nonnull java.lang.String uri)
@Deprecated @Nonnull public static java.lang.String escape(@Nonnull java.lang.String str)
@Nullable public static jsinterop.base.Any eval(@Nonnull java.lang.String code)
public static boolean isFinite(double num)
public static boolean isNaN(double value)
public static double parseFloat(@Nonnull java.lang.String string)
public static int parseInt(@Nonnull java.lang.String string, int radix)
@Deprecated @Nonnull public static java.lang.String unescape(@Nonnull java.lang.String str)