类 SpringConverterAdapter

  • 所有已实现的接口:
    org.springframework.core.convert.converter.ConditionalConverter, org.springframework.core.convert.converter.ConditionalGenericConverter, org.springframework.core.convert.converter.GenericConverter

    public class SpringConverterAdapter
    extends java.lang.Object
    implements org.springframework.core.convert.converter.ConditionalGenericConverter
    Spring Converter Adapter based on Microsphere Converters
    从以下版本开始:
    1.0.0
    作者:
    Mercy
    另请参阅:
    Converter, Converter, ConfigurableConversionService
    • 嵌套类概要

      • 从接口继承的嵌套类/接口 org.springframework.core.convert.converter.GenericConverter

        org.springframework.core.convert.converter.GenericConverter.ConvertiblePair
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      java.lang.Object convert​(java.lang.Object source, org.springframework.core.convert.TypeDescriptor sourceType, org.springframework.core.convert.TypeDescriptor targetType)  
      java.util.Set<org.springframework.core.convert.converter.GenericConverter.ConvertiblePair> getConvertibleTypes()  
      boolean matches​(org.springframework.core.convert.TypeDescriptor sourceType, org.springframework.core.convert.TypeDescriptor targetType)  
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 构造器详细资料

      • SpringConverterAdapter

        public SpringConverterAdapter()
    • 方法详细资料

      • matches

        public boolean matches​(org.springframework.core.convert.TypeDescriptor sourceType,
                               org.springframework.core.convert.TypeDescriptor targetType)
        指定者:
        matches 在接口中 org.springframework.core.convert.converter.ConditionalConverter
      • getConvertibleTypes

        public java.util.Set<org.springframework.core.convert.converter.GenericConverter.ConvertiblePair> getConvertibleTypes()
        指定者:
        getConvertibleTypes 在接口中 org.springframework.core.convert.converter.GenericConverter
      • convert

        public java.lang.Object convert​(java.lang.Object source,
                                        org.springframework.core.convert.TypeDescriptor sourceType,
                                        org.springframework.core.convert.TypeDescriptor targetType)
        指定者:
        convert 在接口中 org.springframework.core.convert.converter.GenericConverter