Package dev.enola.common.convert
Class ObjectToStringBiConverterWithFormat
java.lang.Object
dev.enola.common.convert.ObjectToStringBiConverterWithFormat
- All Implemented Interfaces:
BiConverter<Object,,String> ConverterInto<Object,,Appendable> ConverterIntoAppendable<Object>,ObjectClassConverter<Object>,ObjectToStringBiConverter<Object>
public class ObjectToStringBiConverterWithFormat
extends Object
implements ObjectToStringBiConverter<Object>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvertFrom(String input) booleanconvertInto(Object from, Appendable into) Convert from an I into an O.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.enola.common.convert.ConverterInto
convertIntoOrThrowMethods inherited from interface dev.enola.common.convert.ObjectToStringBiConverter
convertObjectToType, convertToType
-
Constructor Details
-
ObjectToStringBiConverterWithFormat
-
-
Method Details
-
convertTo
- Specified by:
convertToin interfaceBiConverter<Object,String>
-
convertFrom
- Specified by:
convertFromin interfaceBiConverter<Object,String> - Throws:
IllegalArgumentException
-
convertInto
Description copied from interface:ConverterIntoConvert from an I into an O.- Specified by:
convertIntoin interfaceConverterInto<Object,Appendable> - Specified by:
convertIntoin interfaceConverterIntoAppendable<Object>- Specified by:
convertIntoin interfaceObjectToStringBiConverter<Object>- 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 O
-