User Guide
112 Chapter 9: The JavaBeans API
Arguments
packageName.pathName
• The packageName.pathName argument is the path to the package. It must be a Java JAR or
ZIP Java archive (for example,
C:/jdbcdrivers/Una2000_Enterprise.zip).
Returns
A string array of class names inside the particular JAR or ZIP Java archive; an error returns an
empty array.
MMJB.getErrorMessage()
Availability
Dreamweaver UltraDev 4.
Description
This function gets the last error message from Dreamweaver that occurred while using the MMJB
interface.
Arguments
None.
Returns
A string of the Dreamweaver message from the last error.
MMJB.getEvents()
Availability
Dreamweaver UltraDev 4, enhanced in Dreamweaver MX.
Description
Introspects the JavaBeans class and returns its events.
Arguments
packageName.className, {packagePath}
• The packageName.className argument is the name of the class. The class must reside in a
JAR or ZIP Java archive. If packagePath is omitted, the archive must reside in your system
classpath or be a class file that is installed in the Configuration/Classes folder.
• The packagePath argument is an optional string that points to the location of the JAR or ZIP
Java archive that contains className.
Returns
A string array of the events associated with className; an error returns an empty array.
000_DW_API_Print.book Page 112 Wednesday, August 20, 2003 9:14 AM