Platforms to show: All Mac Windows Linux Cross-Platform

class JavaFieldMBS
class, Java, MBS REALbasic Java Plugin (Java), class JavaFieldMBS, Console safe, Plugin version: 4.3, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.

Function: The wrapper class for the java field ID.
Example:
dim f as FolderItem

f=SpecialFolder.Desktop.Child("ojdbc14.jar")

dim j as new JavaVMMBS(f)

dim c as JavaClassMBS = j.FindClass("oracle/jdbc/driver/OracleTypes")

dim field as JavaFieldMBS

// this are all static integer fields in this class:

field = c.GetStaticField("CURSOR","I")
MsgBox str(c.StaticIntField(field))

field = c.GetStaticField("BLOB","I")
MsgBox str(c.StaticIntField(field))

field = c.GetStaticField("DOUBLE","I")
MsgBox str(c.StaticIntField(field))
JavaFieldMBS.Handle as Integer
property, Java, MBS REALbasic Java Plugin (Java), class JavaFieldMBS, Console safe, Plugin version: 4.3, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.

Function: The fieldID of this field.
Notes: (Read and Write property)

The items on this page are in the following plugins: MBS REALbasic Java Plugin.




Links
MBS REALstudio Plugins - Nachhilfe in Kruft