|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jasp.vbs.operator
VBScript has a full range of operators, including arithmetic operators, comparison operators, concatenation operators, and logical operators. Some ASP operators cannot be converted into Java operators directly, so we provide the operator class to implement these operators.
Constructor Summary | |
operator()
|
Method Summary | |
static variant |
get(variant v,
java.lang.String name)
Returns the property of the object. |
static variant |
get(variant v,
java.lang.String name,
pVector pars)
Returns the property or method of the object. |
static boolean |
Greater(java.lang.String s1,
java.lang.String s2)
Compares two strings. |
static boolean |
GreaterEQ(java.lang.String s1,
java.lang.String s2)
Compares two strings. |
static variant |
invoke(variant v1,
java.lang.String methodname,
pVector pars)
Invokes the method of the object. |
static boolean |
Is(java.lang.Object object1,
java.lang.Object object2)
Compares two object reference variables. |
static variant |
j2variant(java.lang.Object jarr)
Converts the Java array to a variant. |
static vbarray |
j2vbarray(java.lang.Object jarr)
Converts the Java array to a vbarray. |
static boolean |
Less(java.lang.String s1,
java.lang.String s2)
Compares two strings. |
static boolean |
LessEQ(java.lang.String s1,
java.lang.String s2)
Compares two strings. |
static void |
set(variant v,
java.lang.String name,
java.lang.Object value)
Assigns the value to the property of the object. |
static void |
set(variant v1,
java.lang.String name,
pVector pars,
java.lang.Object value)
Assigns the value to the property of the object. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public operator()
Method Detail |
public static boolean Is(java.lang.Object object1, java.lang.Object object2) throws java.lang.Exception
object1
- Any object name.object2
- Any object name.public static boolean Greater(java.lang.String s1, java.lang.String s2)
public static boolean Less(java.lang.String s1, java.lang.String s2)
public static boolean GreaterEQ(java.lang.String s1, java.lang.String s2)
public static boolean LessEQ(java.lang.String s1, java.lang.String s2)
public static variant invoke(variant v1, java.lang.String methodname, pVector pars) throws java.lang.Exception
v1
- a variant containing the object.methodname
- the name of the method.pars
- the parameters of the method.if
- the object is null, "Object required" error occurs.public static variant get(variant v, java.lang.String name) throws java.lang.Exception
v
- a variant containing the object.name
- the property or method name of the object.if
- the object is null, "Object required" error occurs.public static variant get(variant v, java.lang.String name, pVector pars) throws java.lang.Exception
v
- a variant containing the object.name
- the property or method name of the object.pars
- the parameters of the method.if
- the object is null, "Object required" error occurs.public static void set(variant v, java.lang.String name, java.lang.Object value) throws java.lang.Exception
v
- a variant containing the object.name
- the property name of the object.value
- the value will be assigned to the object's property.if
- the object is null, an error will occur.public static void set(variant v1, java.lang.String name, pVector pars, java.lang.Object value) throws java.lang.Exception
v1
- a variant containing the object.name
- the property name of the object.pars
- the parameters of the property.value
- the value will be assigned to the object's property.if
- the object is null, an error will occur.public static vbarray j2vbarray(java.lang.Object jarr) throws java.lang.Exception
jarr
- a Java array.public static variant j2variant(java.lang.Object jarr) throws java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |