@FunctionalInterface public interface Converter
Object convert(Type targetType, Object value) throws ConvertException
targetType - 目标Type,非泛型类使用value - 原始值,如果对象实现了此接口,则value为thisConvertException - 转换无法正常完成或转换异常时抛出此异常Copyright © 2024. All rights reserved.