public class TypeLibUtil
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TypeLibUtil.FindName
The Class FindName.
|
static class |
TypeLibUtil.IsName
The Class IsName.
|
static class |
TypeLibUtil.TypeLibDoc
The Class TypeLibDoc.
|
| Modifier and Type | Field and Description |
|---|---|
static OleAuto |
OLEAUTO
The Constant OLEAUTO.
|
| Constructor and Description |
|---|
TypeLibUtil(java.lang.String file) |
TypeLibUtil(java.lang.String clsidStr,
int wVerMajor,
int wVerMinor)
Instantiates a new i type lib util.
|
| Modifier and Type | Method and Description |
|---|---|
TypeLibUtil.FindName |
FindName(java.lang.String name,
int hashVal,
short maxResult)
Find name.
|
java.lang.String |
getDocString()
Gets the doc string.
|
TypeLibUtil.TypeLibDoc |
getDocumentation(int index)
Gets the documentation.
|
int |
getHelpContext()
Gets the help context.
|
java.lang.String |
getHelpFile()
Gets the help file.
|
WinDef.LCID |
getLcid()
Gets the lcid.
|
OaIdl.TLIBATTR |
getLibAttr()
Gets the lib attr.
|
java.lang.String |
getName()
Gets the name.
|
TypeComp |
GetTypeComp()
Gets the type comp.
|
ITypeInfo |
getTypeInfo(int index)
Gets the type info.
|
int |
getTypeInfoCount()
Gets the type info count.
|
OaIdl.TYPEKIND |
getTypeInfoType(int index)
Gets the type info type.
|
TypeInfoUtil |
getTypeInfoUtil(int index)
Gets the type info util.
|
ITypeLib |
getTypelib()
Gets the typelib.
|
TypeLibUtil.IsName |
IsName(java.lang.String nameBuf,
int hashVal)
Checks if is name.
|
void |
ReleaseTLibAttr(OaIdl.TLIBATTR pTLibAttr)
Release t lib attr.
|
public static final OleAuto OLEAUTO
public TypeLibUtil(java.lang.String clsidStr,
int wVerMajor,
int wVerMinor)
clsidStr - the clsid strwVerMajor - the w ver majorwVerMinor - the w ver minorpublic TypeLibUtil(java.lang.String file)
public int getTypeInfoCount()
public OaIdl.TYPEKIND getTypeInfoType(int index)
index - the indexpublic ITypeInfo getTypeInfo(int index)
index - the indexpublic TypeInfoUtil getTypeInfoUtil(int index)
index - the indexpublic OaIdl.TLIBATTR getLibAttr()
public TypeComp GetTypeComp()
public TypeLibUtil.TypeLibDoc getDocumentation(int index)
index - the indexpublic TypeLibUtil.IsName IsName(java.lang.String nameBuf, int hashVal)
nameBuf - the name bufhashVal - the hash valpublic TypeLibUtil.FindName FindName(java.lang.String name, int hashVal, short maxResult)
name - the namehashVal - the hash val or 0 if unknownmaxResult - maximum number of items to searchpublic void ReleaseTLibAttr(OaIdl.TLIBATTR pTLibAttr)
pTLibAttr - the t lib attrpublic WinDef.LCID getLcid()
public ITypeLib getTypelib()
public java.lang.String getName()
public java.lang.String getDocString()
public int getHelpContext()
public java.lang.String getHelpFile()