User Guide

112 The JavaBeans API
MMJB.getClassesFromPackage()
Availability
Dreamweaver UltraDev 4.
Description
This function reads all the JavaBeans classes from the package.
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.
000_DW_API_Print.book Page 112 Wednesday, July 20, 2005 11:58 AM