io.github.benas.easybatch.tutorials.products
Class OriginTypeConverter
java.lang.Object
io.github.benas.easybatch.tutorials.products.OriginTypeConverter
- All Implemented Interfaces:
- TypeConverter<Origin>
public class OriginTypeConverter
- extends Object
- implements TypeConverter<Origin>
Custom converter that convert string origin to a value of the Origin enumeration.
- Author:
- benas (md.benhassine@gmail.com)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OriginTypeConverter
public OriginTypeConverter()
convert
public Origin convert(String value)
- Specified by:
convert in interface TypeConverter<Origin>
Copyright © 2014. All Rights Reserved.