核心技术Ⅱ:本地方法

来自Wikioe
跳到导航 跳到搜索


12.1 从Java 程序中调用C 函数•.. 752 12.2 数值参数与返回值, ··· · ·············757 12.3 字符串参数······· · ······· · ········· · ··759 12.4 访问域····················· · ············764 12.4.1 访问实例域·············· · ········765 12.4.2 访问静态域·········· · ············768 12.5 编码签名······· · ··········· · ···········769 12.6 调用Java 方法·············· · • ·······770 12.6. l 实例方法· · ·············· · ·······771 12.6.2 静态方法.......................... 774 12.6.3 构造器,.. . . . ......... . .............. 775 12.6.4 另一种方法调用······ · ··· · · ····775 12.7 访问数组元素············· · · ·· · ······777 12.8 错误处理······· ·· ·················· ·· " 780 12.9 使用调用API················......... 785 12.10 完整的示例:访问Windows注册表· · ············· · ············· · ···789 12.10.1 Windows 注册表概述..... 789 12.10.2 访问注册表的Java 平台接口······ · ··· · ······ · ·············791 12.10.3 以本地方法方式实现注册表访间函数............... 791