Package dev.enola.common.convert
Class ObjectWithTypeTokenConverterChain
java.lang.Object
dev.enola.common.convert.ObjectWithTypeTokenConverterChain
- All Implemented Interfaces:
ConverterInto<ObjectWithTypeToken<?>,,MutableObjectWithTypeToken<?>> ObjectClassConverter<Object>,ObjectWithTypeTokenConverter
public class ObjectWithTypeTokenConverterChain
extends Object
implements ObjectWithTypeTokenConverter
-
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionbooleanconvertInto(ObjectWithTypeToken<?> from, MutableObjectWithTypeToken<?> into) Convert from an I into an O.toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface dev.enola.common.convert.ConverterInto
convertIntoOrThrowMethods inherited from interface dev.enola.common.convert.ObjectWithTypeTokenConverter
convertToType, convertToTypeOrThrow
-
Constructor Details
-
ObjectWithTypeTokenConverterChain
-
-
Method Details
-
convertInto
public boolean convertInto(ObjectWithTypeToken<?> from, MutableObjectWithTypeToken<?> into) throws ConversionException, IOException Description copied from interface:ConverterIntoConvert from an I into an O.- Specified by:
convertIntoin interfaceConverterInto<ObjectWithTypeToken<?>,MutableObjectWithTypeToken<?>> - Specified by:
convertIntoin interfaceObjectWithTypeTokenConverter- Parameters:
from- the input to convertinto- the destination where to output- Returns:
- true if conversion was successful, false if this converter cannot handle it; see
ConverterIntoChain - Throws:
ConversionException- in case of conversion problems or technical failures to read from I or write to OIOException- TODO wrap IOException into ConversionException and remove throws
-
toString
-