com.tuyang.beanutils.internal.convertors.EnumToStringConvertor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of BeanUtils Show documentation
Show all versions of BeanUtils Show documentation
BeanUtils library is a Java bean copy utility with powerful functionality and high performance.
The newest version!
package com.tuyang.beanutils.internal.convertors;
import com.tuyang.beanutils.BeanCopyConvertor;
@SuppressWarnings("rawtypes")
public class EnumToStringConvertor implements BeanCopyConvertor {
@Override
public String convertTo(Enum object) {
return object.toString();
}
}