Top Description Methods
org.jooq

public Interface ConverterProvider

Known Direct Implementers
org.jooq.impl.DefaultConverterProvider
Annotations
@FunctionalInterface
Imports
org.jooq.impl.DefaultConverterProvider, org.jetbrains.annotations.Nullable

A ConverterProvider provides Converter implementations for any combination of types <T> and <U>.

ConverterProvider can be used together with RecordMapper, e.g. when mapping JSON or XML data types onto POJO types using third party libraries like Jackson, Gson, JAXB, or others.

Author
Lukas Eder

Method Summary

Modifier and TypeMethod and Description
public <T, U> @Nullable Converter<T, U>

Returns:

The converter for <T, U>, or null if no such converter could be provided, in case of which jOOQ's DefaultConverterProvider applies.
provide
(Class<T> tType, Class<U> uType)

Provide a converter that can convert between <T> and <U> types.

Method Detail

provideback to summary
public <T, U> @Nullable Converter<T, U> provide(Class<T> tType, Class<U> uType)

Provide a converter that can convert between <T> and <U> types.

Returns:@Nullable Converter<T, U>

The converter for <T, U>, or null if no such converter could be provided, in case of which jOOQ's DefaultConverterProvider applies.

Annotations
@Nullable