@Beta public class MessageMetadataParser extends Object
File
containing metadata about message types and creates instances of
DefaultMessageMetadata
which provide access to the metadata.Constructor and Description |
---|
MessageMetadataParser() |
Modifier and Type | Method and Description |
---|---|
List<MessageMetadata> |
parse(File messageMetadataFile)
Parses provided JSON
File containing metadata about message types and creates instances of
DefaultMessageMetadata which provide access to the metadata. |
public List<MessageMetadata> parse(@Nonnull File messageMetadataFile) throws IOException, ClassNotFoundException
File
containing metadata about message types and creates instances of
DefaultMessageMetadata
which provide access to the metadata.messageMetadataFile
- The metadata file containing the message metadataList
of MessageMetadata
representing the metadata as present in
messageMetadataFile
IOException
- Indicates that the metadata file could not be read.ClassNotFoundException
- Indicates that a Java class specified in the metadata file was not available at runtime.Copyright © 2018 SAP SE. All rights reserved.