Вопрос

I would like to use javax.mail.internet.MimeUtility to decode a "quoted-printable" string. I do not need any other interface to a mail server. What's the best way to get at that class (and its dependencies)? Alternatively, is there a better way to parse "quoted-printable" strings?

Это было полезно?

Решение

I don't know of anything in the standard J2SE API for this. However, a quick Google search turns up this decoder code. I can't vouch for it, but it looks reasonable. You can probably find others yourself.

Другие советы

The Apache Commons Codec library also has support for quoted printable and is available under the more permissive apache license.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top