Package org.luwrain.pim.mail.obsolete
Class BinaryMessage
java.lang.Object
org.luwrain.pim.mail.obsolete.BinaryMessage
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
decodeText
(String text) static org.luwrain.pim.mail.obsolete.MailMessage
fromByteArray
(byte[] bytes) static byte[]
toByteArray
(org.luwrain.pim.mail.obsolete.MailMessage message, Map<String, String> extraHeaders)
-
Field Details
-
TRANSFER_ENCODING
- See Also:
-
DEFAULT_CHARSET
- See Also:
-
-
Constructor Details
-
BinaryMessage
public BinaryMessage()
-
-
Method Details
-
toByteArray
public static byte[] toByteArray(org.luwrain.pim.mail.obsolete.MailMessage message, Map<String, String> extraHeaders) throws PimException, IOException- Throws:
PimException
IOException
-
fromByteArray
public static org.luwrain.pim.mail.obsolete.MailMessage fromByteArray(byte[] bytes) throws IOException - Throws:
IOException
-
decodeText
- Throws:
IOException
-