| java.lang.Object | |
| ↳ | com.microstrategy.utils.BridgeUtils |
This class is only used internally for BridgeUtils .Net project.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
BridgeUtils()
Constructor.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| String | createArrayInstance(String componentType, int length) | ||||||||||
| String |
createInstance(String className, ObjectArray classTypes, ObjectArray values)
Create Instance.
| ||||||||||
| String |
createInstance(String className)
Creates Instance.
| ||||||||||
| int |
getArrayLength(String instanceKey)
Returns the length of the array, if the instance is an array.
| ||||||||||
| String |
getField(String instanceKey, String className, String fieldName)
Access the field.
| ||||||||||
| Object |
getInstance(String key)
Returns the instance.
| ||||||||||
| String |
getValueFromArray(String instanceKey, int index)
Returns the value in the array by index.
| ||||||||||
| String |
invoke(String instanceKey, String className, String methodName, ObjectArray classTypes, ObjectArray values)
Invokes a method.
| ||||||||||
| static boolean | parseBool(String s) | ||||||||||
| static byte | parseByte(String s) | ||||||||||
| static char | parseChar(String s) | ||||||||||
| static int | parseInt(String s) | ||||||||||
| static short | parseShort(String s) | ||||||||||
| static String | parseString(String s) | ||||||||||
| void |
removeInstance(String key)
Removes instance by key
| ||||||||||
| void | setField(String instanceKey, String className, String fieldName, String serializedValue) | ||||||||||
| void | setValueToArray(String instanceKey, int index, String value) | ||||||||||
| void | setValueToArray(String instanceKey, int index, int value) | ||||||||||
| void | setValueToArray(String instanceKey, int index, boolean value) | ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Constructor.
| Exception |
|---|
Create Instance.
| className | The name of the Class. |
|---|---|
| classTypes | The parameter types. |
| values | The parameter values. |
| Exception |
|---|
Creates Instance.
| className | The class name of the instance. |
|---|
| Exception |
|---|
Returns the length of the array, if the instance is an array.
| instanceKey | The instance key of the array. |
|---|
Access the field.
| instanceKey | The instance key indicates the instance we are accessing the field on. If the field is a static field, this can be null. |
|---|---|
| className | The name of the class. |
| fieldName | The name fo the field. |
| Exception |
|---|
Returns the instance.
| key | The key of the instance. |
|---|
Returns the value in the array by index.
| instanceKey | The instance key of the array. |
|---|---|
| index | The index of the array. |
Invokes a method.
| instanceKey | The instance key indicates the instance. |
|---|---|
| className | The name of the class. |
| methodName | The name of the method we are calling. |
| classTypes | The parameter types. |
| values | The parameter values. |
| Exception |
|---|
Removes instance by key
| key | The key of the instance |
|---|
| Exception |
|---|