Top Interfaces Classes
[default module]

Package com.sun.jna


Interface Summary

Modifier and TypeInterface and Description
public interface
AltCallingConvention

Tagging interface to indicate the library or callback uses an alternate calling convention.

public interface
Callback

All callback definitions must derive from this interface.

public interface
CallbackProxy

Placeholder proxy interface to allow an InvocationHandler to convert arguments/return values on callback methods.

public interface
FromNativeConverter

Define conversion from a native type to the appropriate Java type.

public interface
FunctionMapper

Provides mapping of Java method names to native function names.

public interface
InvocationMapper

Provide a method for overriding how a given function is invoked.

public interface
Library

Derive from this interface for all native library definitions.

public interface
NativeMapped

Provide conversion for a Java type to and from a native type.

public interface
ToNativeConverter

Define conversion from a Java type to its corresponding native type.

public interface
TypeConverter

Convenience interface for bidirectional conversion.

public interface
TypeMapper

Provides converters for conversion to and from native types.

Class Summary

Modifier and TypeClass and Description
public class
CallbackParameterContext

Provide argument conversion context for a callback invocation.

pack-priv class
CallbackReference

Provides a reference to an association between a native callback closure and a Java Callback closure.

public class
CallbackResultContext

Conversion context from a Java Callback result to a native value.

public class
DefaultTypeMapper

Provide custom mappings to and from native types.

public class
FromNativeContext

Provides context for converting a native value into a Java type.

public class
Function

An abstraction for a native function pointer.

public class
public class
FunctionResultContext

Provide result conversion context for a function call.

public abstract class
IntegerType

Represents a native integer value, which may have a platform-specific size (e.g. long on unix-based platforms).

public class
Memory

A Pointer to memory obtained from the native heap via a call to malloc.

public class
public class
MethodResultContext

Provide result conversion context for a function call that is called via a Library interface.

public class
Native

Provides generation of invocation plumbing for a defined native library interface.

public class
NativeLibrary

Provides management of native library resources.

public class
NativeLong

Represents the long C data type, which may be 32 or 64 bits on *nix-based systems.

public class
NativeMappedConverter

Provides type conversion for instances of NativeMapped.

pack-priv class
NativeString

Provides a temporary allocation of an immutable C string (const char* or const wchar_t*) for use when converting a Java String into a native memory function argument.

public class
Platform

Provide simplified platform information.

public class
Pointer

An abstraction for a native pointer data type.

public abstract class
PointerType

Type representing a type-safe native pointer.

public class
StringArray

Handle native array of char* or wchar_t* type by managing allocation/disposal of native strings within an array of pointers.

public abstract class
Structure

Represents a native structure with a Java peer class.

public class
StructureReadContext

Provide native to Java type conversion context for a Structure field read.

public class
StructureWriteContext

Provide Java to native type conversion context for a Structure field write.

public class
ToNativeContext

Context for converting a Java value to a native one.

public abstract class
Union

Represents a native union.

public class
WString

Simple wrapper class to identify a wide string argument or return type.