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 を使用して、境界を検索し、次に境界 + -- 記号を探すことで、一度に 1 つの MIME メッセージを解析できます。
これは多くの文字列操作のようです。Java で正しく MIME エンコードされたストリーミングを実行した人がいるはずです。どこに隠れていますか?
このライブラリを見てください:
http://code.google.com/p/mimeparser/