com.jniwrapper.win32.com
Class ComUtils

java.lang.Object
  extended bycom.jniwrapper.win32.com.ComUtils

public class ComUtils
extends java.lang.Object


Constructor Summary
ComUtils()
           
 
Method Summary
static java.lang.Class findImplementation(java.lang.Class interfaceClass)
          Returns implementation class for COM interface stub by interface class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComUtils

public ComUtils()
Method Detail

findImplementation

public static java.lang.Class findImplementation(java.lang.Class interfaceClass)
                                          throws java.lang.ClassNotFoundException
Returns implementation class for COM interface stub by interface class. For example, findImplementation(IDispatch.class) returns IDispatchImpl.class.

Parameters:
interfaceClass - Class instance that represents interface implemented by interface stub.
Returns:
class of COM stub implementation
Throws:
java.lang.ClassNotFoundException