Package | Description |
---|---|
agi.foundation.infrastructure |
Contains types which support various aspects of the DME Component Libraries infrastructure.
|
Modifier and Type | Method and Description |
---|---|
static <T,TFormatType> |
TryFormatConversionCallback.of(TryFormatConversionCallback.Function<T,TFormatType> f)
Create a delegate for the given interface.
|
static <T,TFormatType> |
TryFormatConversionCallback.of(TryFormatConversionCallback.Function<T,TFormatType> f,
Class<?> targetClass,
String methodName,
Class<?>... methodParameterClasses)
Create a delegate for the given interface.
|
static <T,TFormatType> |
TryFormatConversionCallback.of(TryFormatConversionCallback.Function<T,TFormatType> f,
Object targetObject,
String methodName,
Class<?>... methodParameterClasses)
Create a delegate for the given interface.
|
Modifier and Type | Method and Description |
---|---|
void |
FormatConverter.registerConversion(TFormatType from,
TFormatType to,
FormatConversionCallback<T,TFormatType> conversion,
TryFormatConversionCallback<T,TFormatType> tryConversion)
Registers a conversion between formats.
|