Package | Description |
---|---|
com4j |
com4j runtime.
|
Modifier and Type | Method and Description |
---|---|
static <T extends Com4jObject> |
COM4J.createInstance(Class<T> primaryInterface,
GUID clsid)
Creates a new COM object of the given CLSID and returns
it in a wrapped interface.
|
static <T extends Com4jObject> |
COM4J.createInstance(Class<T> primaryInterface,
String clsid)
Creates a new COM object of the given CLSID and returns
it in a wrapped interface.
|
static <T extends Com4jObject> |
COM4J.createInstance(Class<T> primaryInterface,
String clsid,
int clsctx)
Creates a new COM object of the given CLSID and returns
it in a wrapped interface.
|
static <T extends Com4jObject> |
COM4J.wrap(Class<T> primaryInterface,
long ptr)
Wraps an externally obtained interface pointer into a COM wrapper object.
|
Constructor and Description |
---|
ComException(ComException cause)
Constructs a new ComException with the given ComExcepton as cause.
|
Copyright © 2014. All rights reserved.