Class AbstractConverter<I,O>
java.lang.Object
io.fluxzero.common.serialization.AbstractConverter<I,O>
- Type Parameters:
I- the type of the input data to be convertedO- the type of the output data after the conversion
- All Implemented Interfaces:
Converter<I,O>
An abstract base class for converting data of type
I to type O. This class implements the
Converter interface and provides a default behavior for the convert(Data) method, while requiring
subclasses to define their own implementation for converting input values of type I to output values of type
O.-
Constructor Details
-
AbstractConverter
public AbstractConverter()
-
-
Method Details
-
convert
-
convert
-
getOutputType
-