Package org.hglteam.conversion.api
Interface Converter
-
public interface Converter
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <S,T>
Tconvert(S source, Class<? extends T> targetClass)<S,T>
Tconvert(S source, Type targetType)<S,T>
Tconvert(S source, Type sourceType, Type targetType)<S,T>
Tconvert(S source, ConversionContext context)<S,T>
Tconvert(S source, ConversionKey contersionKey)<S,T>
Function<S,T>convertTo(Class<? extends T> targetClass)<S,T>
Function<S,T>convertTo(Type targetType)<S,T>
Function<S,T>convertTo(Type sourceType, Type targetType)<S,T>
Function<S,T>convertTo(ConversionContext context)<S,T>
Function<S,T>convertTo(ConversionKey conversionKey)<T> ContextualConversionBuilder<T>withContext(Class<? extends T> targetClass)<T> ContextualConversionBuilder<T>withContext(Type targetType)<T> ContextualConversionBuilder<T>withContext(TypeDescriptor<T> targetTypeDescriptor)
-
-
-
Method Detail
-
convert
<S,T> T convert(S source, ConversionContext context)
-
convert
<S,T> T convert(S source, ConversionKey contersionKey)
-
convert
<S,T> T convert(S source, Type targetType)
-
convert
<S,T> T convert(S source, Class<? extends T> targetClass)
-
convertTo
<S,T> Function<S,T> convertTo(ConversionContext context)
-
convertTo
<S,T> Function<S,T> convertTo(ConversionKey conversionKey)
-
withContext
<T> ContextualConversionBuilder<T> withContext(Type targetType)
-
withContext
<T> ContextualConversionBuilder<T> withContext(Class<? extends T> targetClass)
-
withContext
<T> ContextualConversionBuilder<T> withContext(TypeDescriptor<T> targetTypeDescriptor)
-
-