【发布时间】:2011-06-02 15:25:18
【问题描述】:
我正在编写一个大型 Java 应用程序,我想在其中包含一个“发送电子邮件”按钮。
它所做的只是打开一个带有适当标题的mailto url。
我遇到的唯一困难是解析输入字符串,以便它们被适当地格式化,例如:
mailto:someone@somewhere.net?subject=This is the subject
需要成为
mailto:someone@somewhere.net?subject=This%20is%20the%20subject
【问题讨论】: