public class EnumConverter<T extends Enum<T>> extends Object implements Converter<T>, Converter.TypeAccess
Converter.TypeAccess| Modifier and Type | Field and Description | 
|---|---|
| private Class<T> | enumType | 
| private Map<String,T> | values | 
| Constructor and Description | 
|---|
| EnumConverter(Class<T> aClass) | 
| Modifier and Type | Method and Description | 
|---|---|
| T | fromString(String text) | 
| String | toString() | 
| String | toString(T instance) | 
| Type | type() | 
Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.