Constructor and Description |
---|
COMUtil() |
Modifier and Type | Method and Description |
---|---|
static Object |
toObject(COMObject parent,
com.jacob.com.Variant variant,
String key)
translate a Variant Object to Object, when it is a Dispatch translate it to COMWrapper
|
static Object |
toObject(COMObject parent,
com.jacob.com.Variant variant,
String key,
Object defaultValue)
translate a Variant Object to Object, when it is a Dispatch translate it to COMWrapper
|
static String |
toStringType(short type)
translate a short Variant Type Defintion to a String (string,empty,null,short ...)
|
public COMUtil()
public static Object toObject(COMObject parent, com.jacob.com.Variant variant, String key, Object defaultValue)
parent
- variant
- key
- public static Object toObject(COMObject parent, com.jacob.com.Variant variant, String key) throws ExpressionException
parent
- variant
- key
- ExpressionException
public static String toStringType(short type)
type
- Copyright © 2015 Lucee