public class AttachmentHelper extends Object
Constructor and Description |
---|
AttachmentHelper() |
Modifier and Type | Method and Description |
---|---|
static Attachment |
generateAttachmentForException(Throwable e) |
static Attachment |
generateAttachmentFromByteArray(byte[] bytes,
String attachmentName) |
static String |
getHex(byte[] raw) |
static byte[] |
hexStringToByteArray(String s) |
public static String getHex(byte[] raw)
public static byte[] hexStringToByteArray(String s)
public static Attachment generateAttachmentForException(Throwable e)
public static Attachment generateAttachmentFromByteArray(byte[] bytes, String attachmentName)
Copyright © 2020. All rights reserved.