Package step.grid.io

Class AttachmentHelper


  • public class AttachmentHelper
    extends Object
    • Constructor Detail

      • AttachmentHelper

        public AttachmentHelper()
    • Method Detail

      • getHex

        public static String getHex​(byte[] raw)
      • hexStringToByteArray

        public static byte[] hexStringToByteArray​(String s)
      • generateAttachmentForException

        public static Attachment generateAttachmentForException​(Throwable e)
      • generateAttachmentFromByteArray

        public static Attachment generateAttachmentFromByteArray​(byte[] bytes,
                                                                 String attachmentName)