spring-framework / org.springframework.oxm.mime / MimeUnmarshaller / unmarshal

unmarshal

abstract fun unmarshal(source: Source, @Nullable mimeContainer: MimeContainer): Any

Unmarshals the given provided Source into an object graph, reading binary attachments from a MimeContainer.

Parameters

source - the source to marshal from

mimeContainer - the MIME container to read extracted binary content from

Exceptions

XmlMappingException - if the given source cannot be mapped to an object

IOException - if an I/O Exception occurs

Return
the object graph