| Modifier and Type | Method and Description |
|---|---|
static Message |
readMDMMessageFromFile(String path)
Helper utility method to read an MDM message from file for test purposes.
|
static void |
writeMDMMessageToFile(Message message,
String path)
Helper utility method to write an MDM message to file for test purposes.
|
public static void writeMDMMessageToFile(Message message, String path) throws IOException
message - Populated MDM message object.path - Output file path.IOException - Thrown if writing fails.public static Message readMDMMessageFromFile(String path) throws IOException
path - Path to MDM message file.Message/null.IOException - Thrown if reading of the file fails.Copyright © 2021. All rights reserved.