jnr.ffi.provider
Class EnumResultConverter

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

public final class EnumResultConverter
extends Object
implements FromNativeConverter


Constructor Summary
EnumResultConverter(Class enumClass)
           
 
Method Summary
 Enum fromNative(Object nativeValue, FromNativeContext context)
           
 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(Class enumClass)
Method Detail

fromNative

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

nativeType

public Class nativeType()
Specified by:
nativeType in interface FromNativeConverter


Copyright © 2012. All Rights Reserved.