com.develop.jawin
Class Variant
java.lang.Object
|
+--com.develop.jawin.Variant
- All Implemented Interfaces:
- VarTypes, WellKnownGUIDs
- Direct Known Subclasses:
- ObjectRef
- public class Variant
- extends java.lang.Object
- implements VarTypes, WellKnownGUIDs
Variant marshaller
Field Summary |
static int |
SIZEOF
size of data |
Fields inherited from interface com.develop.jawin.constants.VarTypes |
VARIANT_FALSE, VARIANT_TRUE, VT_ARRAY, VT_BLOB, VT_BLOB_OBJECT, VT_BOOL, VT_BSTR, VT_BYREF, VT_CARRAY, VT_CF, VT_CLSID, VT_CY, VT_DATE, VT_DECIMAL, VT_DISPATCH, VT_EMPTY, VT_ERROR, VT_FILETIME, VT_HRESULT, VT_I1, VT_I2, VT_I4, VT_I8, VT_ILLEGAL, VT_ILLEGALMASKED, VT_INT, VT_LPSTR, VT_LPWSTR, VT_NULL, VT_PTR, VT_R4, VT_R8, VT_RESERVED, VT_SAFEARRAY, VT_STORAGE, VT_STORED_OBJECT, VT_STREAM, VT_STREAMED_OBJECT, VT_TYPEMASK, VT_UI1, VT_UI2, VT_UI4, VT_UI8, VT_UINT, VT_UNKNOWN, VT_USERDEFINED, VT_VARIANT, VT_VECTOR, VT_VOID |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
SIZEOF
public static final int SIZEOF
- size of data
Variant
public Variant()
marshalInRef
public static void marshalInRef(ObjectRef objRef,
LittleEndianOutputStream leos)
throws COMException
- Marshals ref. object
- Parameters:
objRef
- referenced objectleos
- output stream- Throws:
COMException
- JNI/COM exception
marshalIn
public static void marshalIn(java.lang.Object var,
LittleEndianOutputStream leos)
throws COMException
- Marshals object
- Parameters:
var
- objectleos
- output stream- Throws:
COMException
- JNI/COM exception
marshalInArrayRef
private static void marshalInArrayRef(java.lang.Object array,
LittleEndianOutputStream leos)
throws COMException,
java.io.IOException
marshalInArray
private static void marshalInArray(java.lang.Object array,
LittleEndianOutputStream leos)
throws COMException,
java.io.IOException
marshalOutArray
public static java.lang.Object marshalOutArray(short vt,
LittleEndianInputStream leis)
throws COMException,
java.io.IOException
- unmarshals array
- Parameters:
vt
- array typeleis
- input stream- Returns:
- object
- Throws:
COMException
- COM/JNI exceptionjava.io.IOException
- I/O exception
marshalOutRef
public static java.lang.Object marshalOutRef(short vtType,
LittleEndianInputStream leis)
throws COMException
- unmarshals ref. object
- Parameters:
vt
- typeleis
- input stream- Returns:
- object
- Throws:
COMException
- JNI/COM exception
marshalOut
public static java.lang.Object marshalOut(LittleEndianInputStream leis)
throws COMException
- Unmarshals object
- Parameters:
leis
- input stream- Returns:
- object
- Throws:
COMException
- JNI/COM exception
marshalOutSkip
public static void marshalOutSkip(LittleEndianInputStream leis)
throws COMException
marshalOutArraySkip
public static void marshalOutArraySkip(short vt,
LittleEndianInputStream leis)
throws COMException,
java.io.IOException
New Jawin designed by Vitally Shelest. This product includes software developed by the DevelopMentor OpenSource Project (http://www.develop.com/OpenSource).