Class BlobToInputStreamConverter
java.lang.Object
org.axonframework.serialization.converters.BlobToInputStreamConverter
- All Implemented Interfaces:
ContentTypeConverter<Blob,InputStream>
public class BlobToInputStreamConverter
extends Object
implements ContentTypeConverter<Blob,InputStream>
- Author:
- Allard Buijze
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionConverts the given object into another.The expected type of input data.The returned type of IntermediateRepresentation
-
Constructor Details
-
BlobToInputStreamConverter
public BlobToInputStreamConverter()
-
-
Method Details
-
expectedSourceType
Description copied from interface:ContentTypeConverterThe expected type of input data.- Specified by:
expectedSourceTypein interfaceContentTypeConverter<Blob,InputStream> - Returns:
- the expected data format in IntermediateRepresentation
-
targetType
Description copied from interface:ContentTypeConverterThe returned type of IntermediateRepresentation- Specified by:
targetTypein interfaceContentTypeConverter<Blob,InputStream> - Returns:
- the output data format in IntermediateRepresentation
-
convert
Description copied from interface:ContentTypeConverterConverts the given object into another. Typically, these values are contained by aSerializedObjectinstance.- Specified by:
convertin interfaceContentTypeConverter<Blob,InputStream> - Parameters:
original- the value to convert- Returns:
- the converted value
-