Class SimpleTypeConverter

All Implemented Interfaces:
PropertyEditorRegistry, TypeConverter

public class SimpleTypeConverter extends TypeConverterSupport
Simple implementation of the TypeConverter interface that does not operate on a specific target object. This is an alternative to using a full-blown BeanWrapperImpl instance for arbitrary type conversion needs, while using the very same conversion algorithm (including delegation to PropertyEditor and ConversionService) underneath.

Note: Due to its reliance on PropertyEditors, SimpleTypeConverter is not thread-safe. Use a separate instance for each thread.

Juergen Hoeller
See Also:
  • Constructor Details

    • SimpleTypeConverter

      public SimpleTypeConverter()