JNA API 3.2.7

com.sun.jna
Interface FunctionMapper

All Known Implementing Classes:
StdCallFunctionMapper, W32APIFunctionMapper

public interface FunctionMapper

Provides mapping of Java method names to native function names. An instance of this interface may be provided to Native.loadLibrary(String, Class, java.util.Map) as an entry in the options map with key Library.OPTION_FUNCTION_MAPPER.

There are several circumstances where this option might prove useful.

See Also:
Library.OPTION_FUNCTION_MAPPER

Method Summary
 java.lang.String getFunctionName(NativeLibrary library, java.lang.reflect.Method method)
           
 

Method Detail

getFunctionName

java.lang.String getFunctionName(NativeLibrary library,
                                 java.lang.reflect.Method method)

JNA API 3.2.7

Copyright © 2007-2010 Timothy Wall. All Rights Reserved.