| 目次 | 前の項目 | 次の項目 | 
JDK 1.0 ネイティブメソッドインタフェース
Java Runtime Interface 
 Raw Native Interface および Java/COM インタフェース 
      
 目的
Java Native Interface のアプローチ 
 JNI のプログラミング
JDK 1.1.2 での変更点 
 JNI インタフェースの関数とポインタ
ネイティブメソッドのロードとリンク 
 プリミティブ配列へのアクセス
フィールドおよびメソッドへのアクセス 
 プリミティブ型 
 参照型 
 フィールドとメソッド ID 
 値の型 
 型のシグニチャー 
 変更後の UTF-8 文字列 
 DefineClass
FindClass
GetSuperclass
IsAssignableFrom 
 Throw
ThrowNew 
 ExceptionOccurred
ExceptionDescribe 
 ExceptionClear
FatalError
ExceptionCheck
 NewGlobalRef
DeleteGlobalRef 
 DeleteLocalRef
EnsureLocalCapacity
PushLocalFrame
PopLocalFrame
NewLocalRef
NewWeakGlobalRef
DeleteWeakGlobalRef
 AllocObject
NewObject、NewObjectA、NewObjectV 
 GetObjectClass
  
 GetObjectRefType
 
  
IsInstanceOf 
 IsSameObject 
 GetFieldID
Get<type>Field ルーチン 
 Set<type>Field ルーチン 
 GetMethodID
Call<type>Method ルーチン、Call<type>MethodA ルーチン、Call<type>MethodV ルーチン 
 CallNonvirtual<type>Method ルーチン、CallNonvirtual<type>MethodA ルーチン、CallNonvirtual<type>MethodV ルーチン 
 GetStaticFieldID
GetStatic<type>Field ルーチン 
 SetStatic<type>Field ルーチン 
 GetStaticMethodID
CallStatic<type>Method ルーチン、CallStatic<type>MethodA ルーチン、CallStatic<type>MethodV ルーチン 
 NewString
GetStringLength 
 GetStringChars
ReleaseStringChars 
 NewStringUTF
GetStringUTFLength 
 GetStringUTFChars
ReleaseStringUTFChars
GetStringRegion
GetStringUTFRegion
GetStringCritical
Release StringCritical
 GetArrayLength
NewObjectArray 
 GetObjectArrayElement
SetObjectArrayElement 
 New<PrimitiveType>Array ルーチン
Get<PrimitiveType>ArrayElements ルーチン 
 Release<PrimitiveType>ArrayElements ルーチン
Get<PrimitiveType>ArrayRegion ルーチン 
 Set<PrimitiveType>ArrayRegion ルーチン
GetPrimitiveArrayCritical
ReleasePrimitiveArrayCritical
 RegisterNatives
UnregisterNatives 
NewDirectByteBuffer
GetDirectBufferAddress
GetDirectBufferCapacity
FromReflectedMethod
FromReflectedField
ToReflectedMethod
ToReflectedField
 JNI_GetDefaultJavaVMInitArgs
JNI_GetCreatedJavaVMs 
 JNI_CreateJavaVM
DestroyJavaVM 
 AttachCurrentThread
AttachCurrentThreadAsDaemon
DetachCurrentThread
GetEnv
| 目次 | 前の項目 | 次の項目 | 
| Copyright © 2003 Sun Microsystems, Inc. All rights reserved. |