public class EnumConverter<T extends Enum<T>> extends Object implements Converter<T>, Converter.TypeAccess
Converter.TypeAccess
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–2017 The Apache Software Foundation. All rights reserved.