JNA API 5.4.0

Class EnumConverter<T extends java.lang.Enum<T>>

    • Constructor Summary

      Constructors 
      Constructor Description
      EnumConverter​(java.lang.Class<T> clazz)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      T fromNative​(java.lang.Object input, FromNativeContext context)
      Convert the given native object into its Java representation using the given context.
      java.lang.Class<java.lang.Integer> nativeType​()
      Indicate the native type used by this converter.
      java.lang.Integer toNative​(java.lang.Object input, ToNativeContext context)
      Convert a Java type to an appropriate native type.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • EnumConverter

        public EnumConverter​(java.lang.Class<T> clazz)
        Parameters:
        clazz - the enum class
JNA API 5.4.0

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