org.apache.tamaya.integration.cdi.internal

## Class EnumConverter<T>

- java.lang.Object
- - org.apache.tamaya.integration.cdi.internal.EnumConverter<T>

- Type Parameters:
    `T` - the enum type.
  All Implemented Interfaces:
    org.apache.tamaya.spi.PropertyConverter<T>

      @Vetoed
      public class EnumConverter<T>
      extends Object
      implements org.apache.tamaya.spi.PropertyConverter<T>

  Converter, converting from String to tge given enum type.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `EnumConverter(Class<T> enumType)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `T` | `convert(String value, org.apache.tamaya.spi.ConversionContext context)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### EnumConverter

          public EnumConverter(Class<T> enumType)

  - ### Method Detail

    - #### convert

          public T convert(String value,
                  org.apache.tamaya.spi.ConversionContext context)

      Specified by:
        `convert` in interface `org.apache.tamaya.spi.PropertyConverter<T>`

Copyright © 2014–2016 Apache Software Foundation. All rights reserved.