Scilab 5.5.2
- Aide de Scilab
- Java depuis Scilab
- Getting started - Beginning
- Getting started - Second step
- jallowClassReloading
- jarray
- jautoTranspose
- jautoUnwrap
- jcast
- jcompile
- jconvMatrixMethod
- jcreatejar
- jdeff
- jdisableTrace
- jenableTrace
- jexists
- jgetclassname
- jgetfield
- jgetfields
- jgetinfo
- jgetmethods
- jimport
- jinvoke
- jinvoke_db
- jnewInstance
- jnull
- jremove
- jsetfield
- junwrap
- junwraprem
- jvoid
- jwrap
- jwrapinchar
- jwrapinfloat
- new
Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function
jgetfields
Get all the fields of a Java object
Calling Sequence
fields = jgetfields(object)
Parameters
- object
A mlist typed _JObj or _JClass or a Scilab variable
- fields
A column of strings
Description
Retrieve all the fields of a Java object.
Examples
s = "Hello World !" jgetfields(jwrap(s))
See Also
- jgetmethods — Get all the methods of a Java object
History
Version | Description |
5.5.0 | Function introduced. Based on the 'JIMS' module. The main difference in the behavior compared to the JIMS module is that jautoUnwrap is enabled by default. |
Report an issue | ||
<< jgetfield | Java depuis Scilab | jgetinfo >> |