public final class DefaultArtifactAstDeserializer extends Object implements ArtifactAstDeserializer
InputStream that was generated by an ArtifactAstSerializer and with that
it delegates the deserialization to the correct implementation of an ArtifactAstDeserializer| Constructor and Description |
|---|
DefaultArtifactAstDeserializer() |
| Modifier and Type | Method and Description |
|---|---|
ArtifactAst |
deserialize(InputStream artifactAstInputStream,
ExtensionModelResolver extensionModelResolver)
Given an
InputStream created by serializing an ArtifactAst with an ArtifactAstSerializer and the
associated ExtensionModels, this method deserializes it. |
public ArtifactAst deserialize(InputStream artifactAstInputStream, ExtensionModelResolver extensionModelResolver) throws IllegalArgumentException, IOException
InputStream created by serializing an ArtifactAst with an ArtifactAstSerializer and the
associated ExtensionModels, this method deserializes it.
This method reads the metadata to determine the format in order to apply the corresponding implementation of
ArtifactAstDeserializer.
deserialize in interface ArtifactAstDeserializerartifactAstInputStream - the input stream generated by an
ArtifactAstSerializerextensionModelResolver - an ExtensionModelResolver instanceIllegalArgumentException - if this deserializer cannot deserialize this input streamIOException - if the input stream could not be readCopyright © 2022 MuleSoft, Inc.. All rights reserved.