jnr.ffi.provider
Class EnumResultConverter

java.lang.Object
  extended by jnr.ffi.provider.EnumResultConverter
All Implemented Interfaces:
FromNativeConverter

public final class EnumResultConverter
extends java.lang.Object
implements FromNativeConverter


Constructor Summary
EnumResultConverter(java.lang.Class enumClass)
           
 
Method Summary
 java.lang.Enum fromNative(java.lang.Object nativeValue, FromNativeContext context)
           
 java.lang.Class nativeType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EnumResultConverter

public EnumResultConverter(java.lang.Class enumClass)
Method Detail

fromNative

public java.lang.Enum fromNative(java.lang.Object nativeValue,
                                 FromNativeContext context)
Specified by:
fromNative in interface FromNativeConverter

nativeType

public java.lang.Class nativeType()
Specified by:
nativeType in interface FromNativeConverter


Copyright © 2012. All Rights Reserved.