Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个带有流式 MIME 消息的 TCP 套接字。我可以使用 JavaMail API 通过搜索边界来一次解析一条 MIME 消息,然后寻找边界 + -- 符号。
这似乎是很多字符串操作。必须有人在 Java 中正确地完成了 MIME 编码的流式传输。它藏在哪里?
看看这个库:
http://code.google.com/p/mimeparser/