Top Description Fields Constructors Methods
com.sun.jna.platform.win32.COM.tlb

public Class TlbImp

extends Object
implements TlbConst
Class Inheritance
All Implemented Interfaces
com.sun.jna.platform.win32.COM.tlb.imp.TlbConst
Imports
java.io.BufferedOutputStream, .File, .FileNotFoundException, .FileOutputStream, .IOException, com.sun.jna.platform.win32.OaIdl.TYPEKIND, com.sun.jna.platform.win32.COM.TypeLibUtil, com.sun.jna.platform.win32.COM.tlb.imp.TlbBase, .TlbCmdlineArgs, .TlbCoClass, .TlbConst, .TlbDispInterface, .TlbEnum, .TlbInterface

The Class TlbImp.
Author
Tobias Wolf, [email protected]

Field Summary

Modifier and TypeField and Description
private TlbCmdlineArgs
private File
comRootDir

The out.

private File
private TypeLibUtil
typeLibUtil

The type lib util.

Constructor Summary

AccessConstructor and Description
public
TlbImp(String[] args)

Method Summary

Modifier and TypeMethod and Description
private void
createCOMCoClass(int index, String packagename, TypeLibUtil typeLibUtil, String bindingMode)

private void

Returns:

the string buffer
createCOMDispInterface
(int
the index
index
,
String packagename, TypeLibUtil
the type lib util
typeLibUtil
)

Creates the com dispatch.

private void

Returns:

the string buffer
createCOMEnum
(int
the index
index
,
String packagename, TypeLibUtil
the type lib util
typeLibUtil
)

Creates the com enum.

private void

Returns:

the string buffer
createCOMInterface
(int
the index
index
,
String packagename, TypeLibUtil
the type lib util
typeLibUtil
)

Creates the com interface.

private void
private String
public static void
logInfo(String
the msg
msg
)

Log info.

public static void
main(String[]
the arguments
args
)

The main method.

public void
startCOM2Java()

Start startCOM2Java.

private void
writeTextFile(String filename, String str)

private void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

cmdlineArgsback to summary
private TlbCmdlineArgs cmdlineArgs
comRootDirback to summary
private File comRootDir

The out.

outputDirback to summary
private File outputDir
typeLibUtilback to summary
private TypeLibUtil typeLibUtil

The type lib util.

Constructor Detail

TlbImpback to summary
public TlbImp(String[] args)

Method Detail

createCOMCoClassback to summary
private void createCOMCoClass(int index, String packagename, TypeLibUtil typeLibUtil, String bindingMode) throws IOException
createCOMDispInterfaceback to summary
private void createCOMDispInterface(int index, String packagename, TypeLibUtil typeLibUtil) throws IOException

Creates the com dispatch.

Parameters
index:int

the index

typeLibUtil:TypeLibUtil

the type lib util

Returns:void

the string buffer

createCOMEnumback to summary
private void createCOMEnum(int index, String packagename, TypeLibUtil typeLibUtil) throws IOException

Creates the com enum.

Parameters
index:int

the index

typeLibUtil:TypeLibUtil

the type lib util

Returns:void

the string buffer

createCOMInterfaceback to summary
private void createCOMInterface(int index, String packagename, TypeLibUtil typeLibUtil) throws IOException

Creates the com interface.

Parameters
index:int

the index

typeLibUtil:TypeLibUtil

the type lib util

Returns:void

the string buffer

createDirback to summary
private void createDir() throws FileNotFoundException
getPackageNameback to summary
private String getPackageName()
logInfoback to summary
public static void logInfo(String msg)

Log info.

Parameters
msg:String

the msg

mainback to summary
public static void main(String[] args)

The main method.

Parameters
args:String[]

the arguments

startCOM2Javaback to summary
public void startCOM2Java()

Start startCOM2Java.

writeTextFileback to summary
private void writeTextFile(String filename, String str) throws IOException
writeTlbClassback to summary
private void writeTlbClass(TlbBase tlbBase) throws IOException