com.jchanghong.core.convert.impl.CurrencyConverter Maven / Gradle / Ivy
The newest version!
package com.jchanghong.core.convert.impl;
import java.util.Currency;
import com.jchanghong.core.convert.AbstractConverter;
/**
* 货币{@link Currency} 转换器
*
* @author Looly
* @since 3.0.8
*/
public class CurrencyConverter extends AbstractConverter {
private static final long serialVersionUID = 1L;
@Override
protected Currency convertInternal(Object value) {
return Currency.getInstance(convertToStr(value));
}
}