com.xiaoleilu.hutool.convert.impl.CurrencyConverter Maven / Gradle / Ivy
package com.xiaoleilu.hutool.convert.impl;
import java.util.Currency;
import com.xiaoleilu.hutool.convert.AbstractConverter;
/**
* 货币{@link Currency} 转换器
*
* @author Looly
* @since 3.0.8
*/
public class CurrencyConverter extends AbstractConverter {
@Override
protected Currency convertInternal(Object value) {
return Currency.getInstance(value.toString());
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy