Package dev.enola.common.convert
Interface ObjectClassConverter<I>
- All Known Subinterfaces:
IdConverter<I>,ObjectToStringBiConverter<T>,ObjectWithTypeTokenConverter
- All Known Implementing Classes:
IdConverterChain,IdentityObjectClassConverter,IdentityObjectWithTypeConverter,ObjectClassConverterChain,ObjectConverter,ObjectToStringBiConverterWithFormat,ObjectToStringWithToStringBiConverter,ObjectWithTypeTokenConverterChain,TemporalAccessorToStringConverter
public interface ObjectClassConverter<I>
Converts an object to a requested (other) class, if it can.
-
Method Summary
Modifier and TypeMethodDescription<X> Optional<X> convertToType(@Nullable I input, Class<X> type)
-
Method Details
-
convertToType
- Throws:
IOException
-