ma.glasnost.orika.converter.builtin
Class StringToEnumConverter
java.lang.Object
ma.glasnost.orika.converter.CustomConverterBase<String,Enum>
ma.glasnost.orika.converter.builtin.StringToEnumConverter
- All Implemented Interfaces:
- Converter<String,Enum>, MappedTypePair<String,Enum>
Deprecated. use FromStringConverter instead
@Deprecated
public class StringToEnumConverter
- extends CustomConverterBase<String,Enum>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StringToEnumConverter
public StringToEnumConverter()
- Deprecated.
convert
public Enum convert(String source,
Class<? extends Enum> destinationClass)
- Deprecated.
canConvert
public boolean canConvert(Class<String> sourceClass,
Class<? extends Enum> destinationClass)
- Deprecated.
- Specified by:
canConvert in interface Converter<String,Enum>- Overrides:
canConvert in class CustomConverterBase<String,Enum>
Copyright © 2013 Glasnost. All Rights Reserved.