|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectau.gov.nehta.vendorlibrary.mdm.util.MDMUtil
public final class MDMUtil
MDMUtil
Utility class for MDM messages.
| Method Summary | |
|---|---|
static Message |
readMDMMessageFromFile(java.lang.String path)
Helper utility method to read an MDM message from file for test purposes. |
static void |
writeMDMMessageToFile(Message message,
java.lang.String path)
Helper utility method to write an MDM message to file for test purposes. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void writeMDMMessageToFile(Message message,
java.lang.String path)
throws java.io.IOException
message - Populated MDM message object.path - Output file path.
java.io.IOException - Thrown if writing fails.
public static Message readMDMMessageFromFile(java.lang.String path)
throws java.io.IOException
path - Path to MDM message file.
Message/null.
java.io.IOException - Thrown if reading of the file fails.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||