Class XmlDataExporterUtil


  • public class XmlDataExporterUtil
    extends Object
    Common utility methods to help with XML message conversion
    • Constructor Detail

      • XmlDataExporterUtil

        public XmlDataExporterUtil()
    • Method Detail

      • convertProperty

        public static String convertProperty​(Object value)
      • getPropertyType

        public static String getPropertyType​(Object value)
      • getMessagePrettyType

        public static String getMessagePrettyType​(byte rawType)
      • encodeMessageBodyBase64

        public static String encodeMessageBodyBase64​(Message message)
                                              throws Exception
        Base64 encode a ServerMessage body into the proper XML format
        Throws:
        Exception
      • encode

        protected static String encode​(byte[] data)