Klasse TlbBase

java.lang.Object
com.sun.jna.platform.win32.COM.tlb.imp.TlbBase
Bekannte direkte Unterklassen:
TlbAbstractMethod, TlbCoClass, TlbDispInterface, TlbEnum, TlbInterface

public abstract class TlbBase extends Object
The Class TlbBase.
Autor:
Tobias Wolf, wolf.tobias@gmx.net
  • Felddetails

    • CR

      public static final String CR
      The Constant CR.
      Siehe auch:
    • CRCR

      public static final String CRCR
      The Constant CRCR.
      Siehe auch:
    • TAB

      public static final String TAB
      The Constant TAB.
      Siehe auch:
    • TABTAB

      public static final String TABTAB
      The Constant TABTAB.
      Siehe auch:
    • typeLibUtil

      protected TypeLibUtil typeLibUtil
      The type lib util.
    • typeInfoUtil

      protected TypeInfoUtil typeInfoUtil
    • index

      protected int index
      The index.
    • templateBuffer

      protected StringBuffer templateBuffer
      The template buffer.
    • classBuffer

      protected StringBuffer classBuffer
      The class buffer.
    • content

      protected String content
      The content.
    • filename

      protected String filename
    • name

      protected String name
    • IUNKNOWN_METHODS

      public static String[] IUNKNOWN_METHODS
      The iunknown methods.
    • IDISPATCH_METHODS

      public static String[] IDISPATCH_METHODS
      The idispatch methods.
    • bindingMode

      protected String bindingMode
  • Konstruktordetails

  • Methodendetails

    • logError

      public void logError(String msg)
      Log error.
      Parameter:
      msg - the msg
    • logInfo

      public void logInfo(String msg)
      Log info.
      Parameter:
      msg - the msg
    • getClassBuffer

      public StringBuffer getClassBuffer()
      Gets the class buffer.
      Gibt zurück:
      the class buffer
    • createContent

      public void createContent(String content)
      Creates the content.
      Parameter:
      content - the content
    • setFilename

      public void setFilename(String filename)
    • getFilename

      public String getFilename()
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • log

      protected void log(String level, String msg)
      Log.
      Parameter:
      level - the level
      msg - the msg
    • getClassTemplate

      protected abstract String getClassTemplate()
      Gets the class template.
      Gibt zurück:
      the class template
    • readTemplateFile

      protected void readTemplateFile(String filename) throws IOException
      Read template file.
      Parameter:
      filename - the filename
      Löst aus:
      IOException - Signals that an I/O exception has occurred.
    • replaceVariable

      protected void replaceVariable(String name, String value)
      Replace variable.
      Parameter:
      name - the name
      value - the value
    • createPackageName

      protected void createPackageName(String packagename)
    • createClassName

      protected void createClassName(String name)
      Creates the class name.
      Parameter:
      name - the name
    • isReservedMethod

      protected boolean isReservedMethod(String method)
      Checks if is reserved method.
      Parameter:
      method - the method
      Gibt zurück:
      true, if is reserved method
    • isVTableMode

      protected boolean isVTableMode()
    • isDispIdMode

      protected boolean isDispIdMode()