public class GlobalObject extends NetObject
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/Microsoft.JScript.GlobalObject
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: Microsoft.JScript, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: Microsoft.JScript
|
static java.lang.String |
className
Qualified class name: Microsoft.JScript.GlobalObject
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
GlobalObject() |
GlobalObject(java.lang.Object instance)
Internal constructor.
|
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public GlobalObject()
throws java.lang.Throwable
java.lang.Throwablepublic GlobalObject(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic static GlobalObject cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into GlobalObject, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedGlobalObject instancejava.lang.Throwable - in case of error during cast operationpublic static void CollectGarbage()
throws java.lang.Throwable
java.lang.Throwablepublic static java.lang.String decodeURI(NetObject encodedURI) throws java.lang.Throwable, ArgumentException, ArgumentNullException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, FormatException, JScriptException, NotImplementedException, MissingMethodException, OverflowException, OutOfMemoryException
public static java.lang.String decodeURIComponent(NetObject encodedURI) throws java.lang.Throwable, ArgumentException, ArgumentNullException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, FormatException, JScriptException, NotImplementedException, MissingMethodException, OverflowException, OutOfMemoryException
public static java.lang.String encodeURI(NetObject uri) throws java.lang.Throwable, ArgumentException, ArgumentNullException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, FormatException, JScriptException, NotImplementedException, MissingMethodException, OverflowException, OutOfMemoryException
public static java.lang.String encodeURIComponent(NetObject uriComponent) throws java.lang.Throwable, ArgumentException, ArgumentNullException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, FormatException, JScriptException, NotImplementedException, MissingMethodException, OverflowException, OutOfMemoryException
public static java.lang.String escape(NetObject string) throws java.lang.Throwable, ArgumentException, ArgumentNullException, CultureNotFoundException, ArgumentOutOfRangeException, NotSupportedException, InvalidOperationException, FormatException, JScriptException, NotImplementedException, MissingMethodException, NullReferenceException, OverflowException, OutOfMemoryException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionNotSupportedExceptionInvalidOperationExceptionFormatExceptionJScriptExceptionNotImplementedExceptionMissingMethodExceptionNullReferenceExceptionOverflowExceptionOutOfMemoryExceptionpublic static NetObject eval(NetObject x) throws java.lang.Throwable, JScriptException
java.lang.ThrowableJScriptExceptionpublic static ActiveXObjectConstructor getActiveXObject() throws java.lang.Throwable
java.lang.Throwablepublic static ArrayConstructor getArray() throws java.lang.Throwable
java.lang.Throwablepublic static NetType getboolean() throws java.lang.Throwable
java.lang.Throwablepublic static BooleanConstructor getBoolean() throws java.lang.Throwable
java.lang.Throwablepublic static NetType getbyte() throws java.lang.Throwable
java.lang.Throwablepublic static NetType getchar() throws java.lang.Throwable
java.lang.Throwablepublic static DateConstructor getDate() throws java.lang.Throwable
java.lang.Throwablepublic static NetType getdecimal() throws java.lang.Throwable
java.lang.Throwablepublic static NetType getdouble() throws java.lang.Throwable
java.lang.Throwablepublic static EnumeratorConstructor getEnumerator() throws java.lang.Throwable
java.lang.Throwablepublic static ErrorConstructor getError() throws java.lang.Throwable
java.lang.Throwablepublic static ErrorConstructor getEvalError() throws java.lang.Throwable
java.lang.Throwablepublic static NetType getfloat() throws java.lang.Throwable
java.lang.Throwablepublic static FunctionConstructor getFunction() throws java.lang.Throwable
java.lang.Throwablepublic static NetType getint() throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectJCType representing the CLR Type of the instantiated Classpublic static NetType getlong() throws java.lang.Throwable
java.lang.Throwablepublic static MathObject getMath() throws java.lang.Throwable, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException, IndexOutOfRangeException, InvalidOperationException, ArgumentNullException, ArgumentException
public static NumberConstructor getNumber() throws java.lang.Throwable
java.lang.Throwablepublic static ObjectConstructor getObject() throws java.lang.Throwable
java.lang.Throwablepublic static NetObject GetObject(NetObject moniker, NetObject progId) throws java.lang.Throwable, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException, InvalidOperationException, ArgumentNullException, ArgumentException, JScriptException, NullReferenceException, EndOfFile, MissingMethodException, OverflowException, TargetInvocationException
java.lang.ThrowableNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionInvalidOperationExceptionArgumentNullExceptionArgumentExceptionJScriptExceptionNullReferenceExceptionEndOfFileMissingMethodExceptionOverflowExceptionTargetInvocationExceptionpublic static ErrorConstructor getRangeError() throws java.lang.Throwable
java.lang.Throwablepublic static ErrorConstructor getReferenceError() throws java.lang.Throwable
java.lang.Throwablepublic static RegExpConstructor getRegExp() throws java.lang.Throwable
java.lang.Throwablepublic static NetType getsbyte() throws java.lang.Throwable
java.lang.Throwablepublic static NetType getshort() throws java.lang.Throwable
java.lang.Throwablepublic static StringConstructor getString() throws java.lang.Throwable
java.lang.Throwablepublic static ErrorConstructor getSyntaxError() throws java.lang.Throwable
java.lang.Throwablepublic static ErrorConstructor getTypeError() throws java.lang.Throwable
java.lang.Throwablepublic static NetType getuint() throws java.lang.Throwable
java.lang.Throwablepublic static NetType getulong() throws java.lang.Throwable
java.lang.Throwablepublic static ErrorConstructor getURIError() throws java.lang.Throwable
java.lang.Throwablepublic static NetType getushort() throws java.lang.Throwable
java.lang.Throwablepublic static VBArrayConstructor getVBArray() throws java.lang.Throwable
java.lang.Throwablepublic static NetType getvoid() throws java.lang.Throwable
java.lang.Throwablepublic static boolean isFinite(double number)
throws java.lang.Throwable
java.lang.Throwablepublic static boolean isNaN(NetObject num) throws java.lang.Throwable, NotSupportedException, InvalidOperationException, NotImplementedException, JScriptException, IndexOutOfRangeException, ArgumentNullException, MissingMethodException, ArgumentException, ArgumentOutOfRangeException, NullReferenceException, FormatException, OverflowException, ArithmeticException
java.lang.ThrowableNotSupportedExceptionInvalidOperationExceptionNotImplementedExceptionJScriptExceptionIndexOutOfRangeExceptionArgumentNullExceptionMissingMethodExceptionArgumentExceptionArgumentOutOfRangeExceptionNullReferenceExceptionFormatExceptionOverflowExceptionArithmeticExceptionpublic static double parseFloat(NetObject string) throws java.lang.Throwable, ArgumentException, ArgumentNullException, CultureNotFoundException, ArgumentOutOfRangeException, NotSupportedException, InvalidOperationException, FormatException, JScriptException, NotImplementedException, MissingMethodException, NullReferenceException, OverflowException, OutOfMemoryException, ArithmeticException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionNotSupportedExceptionInvalidOperationExceptionFormatExceptionJScriptExceptionNotImplementedExceptionMissingMethodExceptionNullReferenceExceptionOverflowExceptionOutOfMemoryExceptionArithmeticExceptionpublic static double parseInt(NetObject string, NetObject radix) throws java.lang.Throwable, ArgumentException, ArgumentNullException, CultureNotFoundException, ArgumentOutOfRangeException, NotSupportedException, InvalidOperationException, FormatException, JScriptException, NotImplementedException, MissingMethodException, NullReferenceException, OverflowException, OutOfMemoryException, ArithmeticException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionNotSupportedExceptionInvalidOperationExceptionFormatExceptionJScriptExceptionNotImplementedExceptionMissingMethodExceptionNullReferenceExceptionOverflowExceptionOutOfMemoryExceptionArithmeticExceptionpublic static java.lang.String ScriptEngine()
throws java.lang.Throwable
java.lang.Throwablepublic static int ScriptEngineBuildVersion()
throws java.lang.Throwable
java.lang.Throwablepublic static int ScriptEngineMajorVersion()
throws java.lang.Throwable
java.lang.Throwablepublic static int ScriptEngineMinorVersion()
throws java.lang.Throwable
java.lang.Throwablepublic void setJCOInstance(JCObject instance)
setJCOInstance in class NetObjectpublic static java.lang.String unescape(NetObject string) throws java.lang.Throwable, ArgumentException, ArgumentNullException, CultureNotFoundException, ArgumentOutOfRangeException, NotSupportedException, InvalidOperationException, FormatException, JScriptException, NotImplementedException, MissingMethodException, NullReferenceException, OverflowException, OutOfMemoryException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionNotSupportedExceptionInvalidOperationExceptionFormatExceptionJScriptExceptionNotImplementedExceptionMissingMethodExceptionNullReferenceExceptionOverflowExceptionOutOfMemoryException